Update bundle (with newest rubocop version) and fix offenses
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user