summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-03-02 09:18:46 -0600
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-05-25 14:47:51 -0500
commit6a279ed892260483a5942d8b7cb09186368bdaaa (patch)
treef22819445c38a03a1d57c6407b824105c579d11d
parent6cf5c924f20f947b89315cd46420e16eb96a6179 (diff)
downloadgitlab-ce-6a279ed892260483a5942d8b7cb09186368bdaaa.tar.gz
Fix sidebar spec
-rw-r--r--spec/features/boards/sidebar_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/boards/sidebar_spec.rb b/spec/features/boards/sidebar_spec.rb
index 34f4d765117..3874afb02fa 100644
--- a/spec/features/boards/sidebar_spec.rb
+++ b/spec/features/boards/sidebar_spec.rb
@@ -303,8 +303,8 @@ describe 'Issue Boards', feature: true, js: true do
page.within('.subscription') do
click_button 'Subscribe'
- wait_for_requests
- expect(page).to have_content("Unsubscribe")
+ wait_for_ajax
+ expect(page).to have_selector('.subscribed')
end
end
end