diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-03-13 22:20:14 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-03-15 13:55:57 +0100 |
commit | f66b77e6317acaaf382f2632325afc8b1413a9c7 (patch) | |
tree | 82ce530001c3a6f823a65ee7ed6e735d7a7be568 /features | |
parent | 5ad35bbe028c60c1281871b45619455a508f7b5b (diff) | |
download | gitlab-ce-f66b77e6317acaaf382f2632325afc8b1413a9c7.tar.gz |
Fix failing specs.
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/project/team_management.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/features/steps/project/team_management.rb b/features/steps/project/team_management.rb index 304df17d6f1..0eefe2b5688 100644 --- a/features/steps/project/team_management.rb +++ b/features/steps/project/team_management.rb @@ -16,7 +16,7 @@ class Spinach::Features::ProjectTeamManagement < Spinach::FeatureSteps end step 'I click link "Add members"' do - find(:css, 'a.btn-add').click + find(:css, 'button.btn-new').click end step 'I select "Mike" as "Reporter"' do @@ -46,7 +46,9 @@ class Spinach::Features::ProjectTeamManagement < Spinach::FeatureSteps user = User.find_by(name: 'Sam') project_member = project.project_members.find_by(user_id: user.id) within "#project_member_#{project_member.id}" do + click_button "Edit access level" select "Reporter", from: "project_member_access_level" + click_button "Save" end end |