mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-15 20:54:01 -05:00
0518492158
StreamEntry model. Simply render Salmon slaps as they are needed
10 lines
297 B
Ruby
10 lines
297 B
Ruby
require 'rails_helper'
|
|
|
|
RSpec.describe Favourite, type: :model do
|
|
let(:alice) { Fabricate(:account, username: 'alice') }
|
|
let(:bob) { Fabricate(:account, username: 'bob') }
|
|
let(:status) { Fabricate(:status, account: bob) }
|
|
|
|
subject { Favourite.new(account: alice, status: status) }
|
|
end
|