From cc2ed858a44a7e01dd04aed6718a7b232209b4bc Mon Sep 17 00:00:00 2001 From: Reuben Pereira Date: Thu, 14 Mar 2019 23:50:21 +0000 Subject: Add feature specs for settings page Add spec for form fields Style settings sections --- spec/views/projects/settings/operations/show.html.haml_spec.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'spec') 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 -- cgit v1.2.3