diff options
Diffstat (limited to 'spec/models/user_spec.rb')
-rw-r--r-- | spec/models/user_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb index 7bd6dccd0ad..c43921bb0f0 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -159,6 +159,8 @@ describe User do it { is_expected.to validate_length_of(:bio).is_at_most(255) } + it_behaves_like 'Unique enum values' + it_behaves_like 'an object with email-formated attributes', :email do subject { build(:user) } end |