Skip to content

Commit

Permalink
Add test for User having secure token
Browse files Browse the repository at this point in the history
  • Loading branch information
c-bartell committed Jan 20, 2021
1 parent 5ec09bc commit 19b641e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/models/user_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
it { should validate_presence_of :password }
# The default arg for have_secure_password is :password
it { should have_secure_password }
it { should have_secure_token :api_key }

end
end

0 comments on commit 19b641e

Please sign in to comment.