From 1b51e691df180a2610aa465228e2cdf6e4a0737b Mon Sep 17 00:00:00 2001 From: Daniela Soares Feitosa Date: Mon, 10 Dec 2012 20:59:32 -0300 Subject: [PATCH] Fixed test: features/send_email_to_organization_members.feature --- features/send_email_to_organization_members.feature | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/features/send_email_to_organization_members.feature b/features/send_email_to_organization_members.feature index c0eefaf..98762d5 100644 --- a/features/send_email_to_organization_members.feature +++ b/features/send_email_to_organization_members.feature @@ -33,7 +33,7 @@ Feature: send emails to organization members And I go to Sample Community's members management And I follow "Send e-mail to members" And I fill in "Subject" with "Hello, member!" - And I fill in "body" with "We have some news" + And I fill in "Body" with "We have some news" When I press "Send" Then I should be on Sample Community's members management @@ -41,7 +41,7 @@ Feature: send emails to organization members Given I am logged in as "joaosilva" And I go to Sample Community's members management And I follow "Send e-mail to members" - And I fill in "body" with "We have some news" + And I fill in "Body" with "We have some news" When I press "Send" Then I should be on /profile/sample-community/send_mail @@ -68,19 +68,19 @@ Feature: send emails to organization members Scenario: Show button "Send e-Mail to members" of community to an moderator Given I am logged in as "jose" When I go to Sample Community's members page - Then I should see "Send e-mail to members" link + Then I should see "Send e-mail to members" Scenario: Not show button "Send e-Mail to members" if user has no right permission Given I am logged in as "manoel" When I go to Sample Community's members page - Then I should not see "Send e-mail to members" link + Then I should not see "Send e-mail to members" Scenario: Redirect back to profile members page after send mail Given I am logged in as "jose" When I go to Sample Community's members page And I follow "Send e-mail to members" And I fill in "Subject" with "Hello, member!" - And I fill in "body" with "We have some news" + And I fill in "Body" with "We have some news" When I press "Send" Then I should be on Sample Community's members page -- libgit2 0.21.2