diff options
author | kushalpandya <kushal@gitlab.com> | 2017-06-02 15:35:47 +0300 |
---|---|---|
committer | kushalpandya <kushal@gitlab.com> | 2017-06-02 15:35:47 +0300 |
commit | 6838c16c49185fb72aa58a9c6591da4ec0fc7acb (patch) | |
tree | 65be7ba84571fe9de569f2bbafedb05bb61348c9 /spec/features/projects/services | |
parent | b487a32cc0fc14e4c0977cb6ff298131818fea16 (diff) |
Minor refactor based on review feedback
Diffstat (limited to 'spec/features/projects/services')
-rw-r--r-- | spec/features/projects/services/jira_service_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/features/projects/services/jira_service_spec.rb b/spec/features/projects/services/jira_service_spec.rb index 191a7103871..c96d87e5708 100644 --- a/spec/features/projects/services/jira_service_spec.rb +++ b/spec/features/projects/services/jira_service_spec.rb @@ -65,7 +65,8 @@ feature 'Setup Jira service', :feature, :js do click_button('Test settings and save changes') wait_for_requests - expect(page).to have_content('Test failed.Save anyway') + expect(find('.flash-container-page')).to have_content 'Test failed.' + expect(find('.flash-container-page')).to have_content 'Save anyway' find('.flash-alert .flash-action').trigger('click') wait_for_requests |