Fix rubocop offenses

This commit is contained in:
Sebastian Serth
2022-03-01 15:35:08 +01:00
parent 06ce498d02
commit b2656bd6b5
3 changed files with 4 additions and 4 deletions

View File

@ -45,7 +45,7 @@ RSpec.describe ExerciseService::PushExternal do
end
context 'when response status is success' do
it { is_expected.to be nil }
it { is_expected.to be_nil }
context 'when response status is 500' do
let(:status) { 500 }
@ -58,7 +58,7 @@ RSpec.describe ExerciseService::PushExternal do
context 'when an error occurs' do
before { allow(Faraday).to receive(:new).and_raise(StandardError) }
it { is_expected.not_to be nil }
it { is_expected.not_to be_nil }
end
end
end