Commit 95f032c4 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix spinach tests

parent 449edae5
...@@ -84,7 +84,7 @@ class Profile < Spinach::FeatureSteps ...@@ -84,7 +84,7 @@ class Profile < Spinach::FeatureSteps
end end
step "I should receive feedback that the changes were saved" do step "I should receive feedback that the changes were saved" do
page.should have_content("Saved") page.should have_content("saved")
end end
step 'my password is expired' do step 'my password is expired' do
......
...@@ -16,7 +16,7 @@ class ProjectTeamManagement < Spinach::FeatureSteps ...@@ -16,7 +16,7 @@ class ProjectTeamManagement < Spinach::FeatureSteps
end end
Given 'I click link "New Team Member"' do Given 'I click link "New Team Member"' do
click_link "New Team Member" click_link "New project member"
end end
And 'I select "Mike" as "Reporter"' do And 'I select "Mike" as "Reporter"' do
...@@ -90,7 +90,7 @@ class ProjectTeamManagement < Spinach::FeatureSteps ...@@ -90,7 +90,7 @@ class ProjectTeamManagement < Spinach::FeatureSteps
end end
And 'I click link "Import team from another project"' do And 'I click link "Import team from another project"' do
click_link "Import team from another project" click_link "Import members from another project"
end end
When 'I submit "Website" project for import team' do When 'I submit "Website" project for import team' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment