Commit 8c596a6e authored by Rajendra Kadam's avatar Rajendra Kadam

Fix offenses for spec file

parent 948e68a3
...@@ -17,7 +17,6 @@ describe API::ErrorTracking do ...@@ -17,7 +17,6 @@ describe API::ErrorTracking do
end end
context 'when authenticated as maintainer' do context 'when authenticated as maintainer' do
shared_examples 'returns project settings' do shared_examples 'returns project settings' do
it 'returns correct project settings' do it 'returns correct project settings' do
subject subject
...@@ -45,12 +44,6 @@ describe API::ErrorTracking do ...@@ -45,12 +44,6 @@ describe API::ErrorTracking do
end end
context 'patch settings' do context 'patch settings' do
subject do
make_patch_request(true)
end
it_behaves_like 'returns project settings'
subject do subject do
make_patch_request(false) make_patch_request(false)
end end
......
...@@ -146,13 +146,13 @@ describe Projects::Operations::UpdateService do ...@@ -146,13 +146,13 @@ describe Projects::Operations::UpdateService do
end end
context 'partial_update' do context 'partial_update' do
let(:params) { let(:params) do
{ {
error_tracking_setting_attributes: { error_tracking_setting_attributes: {
enabled: true enabled: true
} }
} }
} end
context 'with setting' do context 'with setting' do
before do before do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment