diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2017-06-09 23:51:11 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2017-06-09 23:51:11 +0300 |
commit | fd760b78bc0ef7a75be9193fb66a8b37a6a9b857 (patch) | |
tree | 2049730ec94e24b00616c7d699c15e0c57038bdb /features | |
parent | f08a8ae18f74ad086695d62ff78ada2796e65829 (diff) | |
parent | b1bf6d88fceb24663bfe4be2d9cc111710d9126b (diff) |
Merge commit 'b1bf6d88fceb24663bfe4be2d9cc111710d9126b' into 9-3-stable
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/project/project_group_links.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/features/steps/project/project_group_links.rb b/features/steps/project/project_group_links.rb index 739a85e5fa4..5280a38ce81 100644 --- a/features/steps/project/project_group_links.rb +++ b/features/steps/project/project_group_links.rb @@ -5,18 +5,19 @@ class Spinach::Features::ProjectGroupLinks < Spinach::FeatureSteps include Select2Helper step 'I should see project already shared with group "Ops"' do - page.within '.enabled-groups' do + page.within '.project-members-groups' do expect(page).to have_content "Ops" end end step 'I should see project is not shared with group "Market"' do - page.within '.enabled-groups' do + page.within '.project-members-groups' do expect(page).not_to have_content "Market" end end step 'I select group "Market" for share' do + click_link 'Share with group' group = Group.find_by(path: 'market') select2(group.id, from: "#link_group_id") select "Master", from: 'link_group_access' @@ -24,7 +25,7 @@ class Spinach::Features::ProjectGroupLinks < Spinach::FeatureSteps end step 'I should see project is shared with group "Market"' do - page.within '.enabled-groups' do + page.within '.project-members-groups' do expect(page).to have_content "Market" end end |