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:
@@ -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
|
||||
|
Reference in New Issue
Block a user