From 59f4b8095afde30c040c4bc7c42ea5c0a3fed715 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Sch=C3=A4fer?= Date: Mon, 28 Feb 2011 18:35:54 +0100 Subject: [PATCH] Revert "commented out cukes for code that is not there yet. REVERT THIS ONCE FIXED" This reverts commit 06e6f91278d547a5950a5a8a66cdd7cbefe04d7e. --- features/meeting_close.feature | 58 +++++++++++++++++----------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/features/meeting_close.feature b/features/meeting_close.feature index 2c62706586..f19a711a4f 100644 --- a/features/meeting_close.feature +++ b/features/meeting_close.feature @@ -16,32 +16,32 @@ Feature: Close existing meetings And there is 1 meeting in project "dingens" created by "bob" with: | title | Bobs Meeting | - # @javascript - # Scenario: Navigate to a meeting page with no permission to close meetings - # Given the role "user" may have the following rights: - # | view_meetings | - # When I login as "alice" - # And I go to the Meetings page for the project called "dingens" - # And I click on "Bobs Meeting" - # Then I should not see "Close" within ".meeting_agenda" - # - # @javascript - # Scenario: Navigate to a meeting page with permission to close meetings - # Given the role "user" may have the following rights: - # | view_meetings | - # | close_meetings | - # When I login as "alice" - # And I go to the Meetings page for the project called "dingens" - # And I click on "Bobs Meeting" - # Then I should see "Close" within ".meeting_agenda" - # - # @javascript - # Scenario: Navigate to a meeting page with permission to close meetings and close the meeting - # Given the role "user" may have the following rights: - # | view_meetings | - # | close_meetings | - # When I login as "alice" - # And I go to the Meetings page for the project called "dingens" - # And I click on "Bobs Meeting" - # And I click on "Close" - # Then I should not see "Edit" within ".meeting_agenda" \ No newline at end of file + @javascript + Scenario: Navigate to a meeting page with no permission to close meetings + Given the role "user" may have the following rights: + | view_meetings | + When I login as "alice" + And I go to the Meetings page for the project called "dingens" + And I click on "Bobs Meeting" + Then I should not see "Close" within ".meeting_agenda" + + @javascript + Scenario: Navigate to a meeting page with permission to close meetings + Given the role "user" may have the following rights: + | view_meetings | + | close_meetings | + When I login as "alice" + And I go to the Meetings page for the project called "dingens" + And I click on "Bobs Meeting" + Then I should see "Close" within ".meeting_agenda" + + @javascript + Scenario: Navigate to a meeting page with permission to close meetings and close the meeting + Given the role "user" may have the following rights: + | view_meetings | + | close_meetings | + When I login as "alice" + And I go to the Meetings page for the project called "dingens" + And I click on "Bobs Meeting" + And I click on "Close" + Then I should not see "Edit" within ".meeting_agenda" \ No newline at end of file