Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Write tests for the AuthToken model
require 'rails_helper'
RSpec.describe AuthToken, type: :model do
it { should belong_to :user }
it { should validate_presence_of :value }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment