Stop trying to shoehorn all Salmon updates into the poor database-connected
StreamEntry model. Simply render Salmon slaps as they are needed
This commit is contained in:
parent
94d2182717
commit
0518492158
22 changed files with 304 additions and 266 deletions
|
@ -47,22 +47,6 @@ RSpec.describe TagManager do
|
|||
expect(subject).to be_a String
|
||||
end
|
||||
end
|
||||
|
||||
context 'Follow' do
|
||||
let(:target) { Fabricate(:follow, account: alice, target_account: bob) }
|
||||
|
||||
it 'returns a string' do
|
||||
expect(subject).to be_a String
|
||||
end
|
||||
end
|
||||
|
||||
context 'Favourite' do
|
||||
let(:target) { Fabricate(:favourite, account: bob, status: status) }
|
||||
|
||||
it 'returns a string' do
|
||||
expect(subject).to be_a String
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
describe '#url_for' do
|
||||
|
@ -87,21 +71,5 @@ RSpec.describe TagManager do
|
|||
expect(subject).to be_a String
|
||||
end
|
||||
end
|
||||
|
||||
context 'Follow' do
|
||||
let(:target) { Fabricate(:follow, account: alice, target_account: bob) }
|
||||
|
||||
it 'returns a URL' do
|
||||
expect(subject).to be_a String
|
||||
end
|
||||
end
|
||||
|
||||
context 'Favourite' do
|
||||
let(:target) { Fabricate(:favourite, account: bob, status: status) }
|
||||
|
||||
it 'returns a URL' do
|
||||
expect(subject).to be_a String
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue