You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
297 B

  1. require 'rails_helper'
  2. RSpec.describe Favourite, type: :model do
  3. let(:alice) { Fabricate(:account, username: 'alice') }
  4. let(:bob) { Fabricate(:account, username: 'bob') }
  5. let(:status) { Fabricate(:status, account: bob) }
  6. subject { Favourite.new(account: alice, status: status) }
  7. end