volontariat/voluntary_proposition

View on GitHub
dummy/features/step_definitions/area_behaviour_steps.rb

Summary

Maintainability
A
0 mins
Test Coverage
Then /^I can't edit areas$/ do
  steps %{
    Given an area named "area 1"
    When I go to the edit area page
    Then I should see "Access denied"
  }
end

Then /^I can't delete areas$/ do
  steps %{
    Given an area named "area 1" 
    When I am on the area page
    Then I should not see "Actions"
  }
end