Skip to content

Commit

Permalink
Fix broken validation spec for Token model
Browse files Browse the repository at this point in the history
  • Loading branch information
Dany Marcoux committed Apr 26, 2021
1 parent 3bb029d commit 93d7fc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/spec/models/token_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
describe 'validations' do
let(:release_token) { create(:release_token) }

it { expect(release_token).to validate_uniqueness_of(:string) }
it { expect(release_token).to validate_uniqueness_of(:string).case_insensitive }
it { is_expected.to have_secure_token(:string) }
it { is_expected.to validate_presence_of(:user) }
end
Expand Down

0 comments on commit 93d7fc3

Please sign in to comment.