# == Schema Information
#
# Table name: accesses
#
#  token      :string(36)       not null, primary key
#  user_id    :integer          not null
#  created_at :datetime         not null
#  updated_at :datetime         not null
#

require 'rails_helper'

RSpec.describe Access, type: :model do
  it { should belong_to(:user) }

  it { should validate_presence_of(:token) }
end
