Update bundle (with newest rubocop version) and fix offenses

This commit is contained in:
Sebastian Serth
2022-01-03 18:11:17 +01:00
parent 57e32611ed
commit ea85519163
93 changed files with 968 additions and 985 deletions

View File

@ -14,7 +14,7 @@ describe Consumer do
end
it 'validates the uniqueness of the OAuth key' do
consumer.update(oauth_key: FactoryBot.create(:consumer).oauth_key)
consumer.update(oauth_key: create(:consumer).oauth_key)
expect(consumer.errors[:oauth_key]).to be_present
end