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
end
context 'when authenticated as maintainer' do
shared_examples 'returns project settings' do
it 'returns correct project settings' do
subject
......@@ -45,12 +44,6 @@ describe API::ErrorTracking do
end
context 'patch settings' do
subject do
make_patch_request(true)
end
it_behaves_like 'returns project settings'
subject do
make_patch_request(false)
end
......
......@@ -146,13 +146,13 @@ describe Projects::Operations::UpdateService do
end
context 'partial_update' do
let(:params) {
let(:params) do
{
error_tracking_setting_attributes: {
enabled: true
}
}
}
end
context 'with setting' 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