diff options
author | Mike Greiling <mike@pixelcog.com> | 2016-11-17 09:48:45 -0600 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2016-11-30 17:15:25 -0600 |
commit | e0e5ea0e19d2527c9787eb7c23001fca8e7f58a8 (patch) | |
tree | d1749ae06d29fe1198d652326e4fd191e7352ddc /spec/features | |
parent | d795a70d2da02110fe517dc8d1e79d5986ac2946 (diff) | |
download | gitlab-ce-e0e5ea0e19d2527c9787eb7c23001fca8e7f58a8.tar.gz |
rewrite subscription javascript to accomodate new design
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/boards/sidebar_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/boards/sidebar_spec.rb b/spec/features/boards/sidebar_spec.rb index f160052a844..c16aafa1470 100644 --- a/spec/features/boards/sidebar_spec.rb +++ b/spec/features/boards/sidebar_spec.rb @@ -304,8 +304,8 @@ describe 'Issue Boards', feature: true, js: true do page.within('.subscription') do click_button 'Subscribe' - - expect(page).to have_content("You're receiving notifications because you're subscribed to this thread.") + wait_for_ajax + expect(page).to have_content("Unsubscribe") end end end |