Commit 638376c3 authored by Phil Hughes's avatar Phil Hughes

Fixed group tests

parent 2c3fa33c
...@@ -105,7 +105,7 @@ class Spinach::Features::AdminGroups < Spinach::FeatureSteps ...@@ -105,7 +105,7 @@ class Spinach::Features::AdminGroups < Spinach::FeatureSteps
select "Developer", from: "access_level" select "Developer", from: "access_level"
end end
click_button "Add users to group" click_button "Add to group"
end end
step 'I should see current user as "Developer"' do step 'I should see current user as "Developer"' do
......
...@@ -109,7 +109,7 @@ class Spinach::Features::GroupMembers < Spinach::FeatureSteps ...@@ -109,7 +109,7 @@ class Spinach::Features::GroupMembers < Spinach::FeatureSteps
step 'I search for \'Mary\' member' do step 'I search for \'Mary\' member' do
page.within '.member-search-form' do page.within '.member-search-form' do
fill_in 'search', with: 'Mary' fill_in 'search', with: 'Mary'
click_button 'Search' find('.member-search-btn').click
end end
end end
......
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