From 9fa307afb19ea4f7eb7a1298449139c2306f1723 Mon Sep 17 00:00:00 2001 From: Daniela Soares Feitosa Date: Mon, 25 Feb 2013 18:59:13 -0300 Subject: [PATCH] Fixed test: features/plugins.feature --- features/plugins.feature | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/features/plugins.feature b/features/plugins.feature index 035e8bf..a40b898 100644 --- a/features/plugins.feature +++ b/features/plugins.feature @@ -23,36 +23,36 @@ Feature: plugins Scenario: a user must see the plugin\'s button in the control panel if the plugin is enabled Given plugin TestPlugin is enabled on environment - And I go to Joao Silva's control panel + And I go to joaosilva's control panel Then I should see "Test plugin button" Scenario: a user must see the plugin\'s tab in in the profile if the plugin is enabled Given plugin TestPlugin is enabled on environment - And I am on Joao Silva's profile + And I am on joaosilva's profile Then I should see "Test plugin tab" Scenario: a user must not see the plugin\'s button in the control panel if the plugin is disabled Given plugin TestPlugin is disabled on environment - And I go to Joao Silva's control panel + And I go to joaosilva's control panel Then I should not see "Test plugin button" Scenario: a user must not see the plugin\'s tab in in the profile if the plugin is disabled Given plugin TestPlugin is disabled on environment - And I am on Joao Silva's profile + And I am on joaosilva's profile Then I should not see "Test plugin tab" Scenario: an admin should be able to deactivate a plugin Given plugin TestPlugin is enabled on environment And I am logged in as admin - When I go to the Control panel + When I go to admin_user's control panel Then I should see "Test plugin button" - When I go to the profile + When I go to admin_user's profile Then I should see "Test plugin tab" And I go to the environment control panel And I follow "Plugins" And I uncheck "Test plugin" And I press "Save changes" - When I go to the Control panel + When I go to admin_user's control panel Then I should not see "Test plugin button" - When I go to the profile + When I go to admin_user's profile Then I should not see "Test plugin tab" -- libgit2 0.21.2