summaryrefslogtreecommitdiff
path: root/spec/views
diff options
context:
space:
mode:
authorReuben Pereira <rpereira@gitlab.com>2019-03-14 23:50:21 +0000
committerMike Greiling <mike@pixelcog.com>2019-03-14 23:50:21 +0000
commitcc2ed858a44a7e01dd04aed6718a7b232209b4bc (patch)
treec0cd1dce23ad9e9656d7262fe95fd8c9154659ca /spec/views
parentd3d24bb4a555a21c19cbfd1ed7c743387537d5b8 (diff)
downloadgitlab-ce-cc2ed858a44a7e01dd04aed6718a7b232209b4bc.tar.gz
Add feature specs for settings page
Add spec for form fields Style settings sections
Diffstat (limited to 'spec/views')
-rw-r--r--spec/views/projects/settings/operations/show.html.haml_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/views/projects/settings/operations/show.html.haml_spec.rb b/spec/views/projects/settings/operations/show.html.haml_spec.rb
index 1bca8bba940..6762fe3759b 100644
--- a/spec/views/projects/settings/operations/show.html.haml_spec.rb
+++ b/spec/views/projects/settings/operations/show.html.haml_spec.rb
@@ -18,6 +18,7 @@ describe 'projects/settings/operations/show' do
allow(view).to receive(:error_tracking_setting)
.and_return(error_tracking_setting)
allow(view).to receive(:current_user).and_return(user)
+ allow(view).to receive(:incident_management_available?) { false }
end
let!(:error_tracking_setting) do