From b29ff55ee4b7b0bba110807612b0ee0be3b83cac Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Fri, 17 May 2013 12:40:08 -0300 Subject: [PATCH] Fixing send_email_plugin feature tests --- plugins/send_email/features/send_email_plugin.feature | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/plugins/send_email/features/send_email_plugin.feature b/plugins/send_email/features/send_email_plugin.feature index 0334d58..a0877a3 100644 --- a/plugins/send_email/features/send_email_plugin.feature +++ b/plugins/send_email/features/send_email_plugin.feature @@ -25,17 +25,14 @@ Feature: send_email_plugin Scenario: as admin I can configure plugin Given I am logged in as admin When I go to the environment control panel - And I follow "Enable/disable plugins" - Then I should see "SendEmailPlugin" linking to "/admin/plugin/send_email" + And I follow "Plugins" + Then I should see "Configuration" linking to "/admin/plugin/send_email" Scenario: configure plugin to allow emails to john@example.com Given I am logged in as admin - And I go to the environment control panel - And I follow "Enable/disable plugins" - When I follow "SendEmailPlugin" + When I go to /admin/plugin/send_email Then I should not see "john@example.com" When I fill in "E-Mail addresses you want to allow to send" with "john@example.com" And I press "Save" - Then I should be on /admin/plugins - When I follow "SendEmailPlugin" + When I go to /admin/plugin/send_email Then I should see "john@example.com" -- libgit2 0.21.2