summaryrefslogtreecommitdiff
path: root/spec/features/projects
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-06-08 09:15:14 -0500
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-06-08 09:15:14 -0500
commit59b0f3e5d487cdced3ea92d93d531bded44b1753 (patch)
tree377a8c573b926878c9d6cb8c2dfb8db6fb1bc2ee /spec/features/projects
parentb4c6dc1d813e179f87678116ed7625311af78c4d (diff)
downloadgitlab-ce-59b0f3e5d487cdced3ea92d93d531bded44b1753.tar.gz
Diffstat (limited to 'spec/features/projects')
-rw-r--r--spec/features/projects/group_links_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/group_links_spec.rb b/spec/features/projects/group_links_spec.rb
index 1a27ca3002a..1b680a56492 100644
--- a/spec/features/projects/group_links_spec.rb
+++ b/spec/features/projects/group_links_spec.rb
@@ -21,12 +21,12 @@ feature 'Project group links', :feature, :js do
select2 group.id, from: '#link_group_id'
fill_in 'expires_at_groups', with: (Time.current + 4.5.days).strftime('%Y-%m-%d')
page.find('body').click
- click_on 'Share'
+ find('.btn-create').trigger('click')
end
it 'shows the expiration time with a warning class' do
page.within('.project-members-groups') do
- expect(page).to have_content('expires in 4 days')
+ expect(page).to have_content('Expires in 4 days')
expect(page).to have_selector('.text-warning')
end
end