diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-02-12 00:48:53 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-02-12 01:19:14 +0100 |
commit | 0518492158af247f3b99a8f27f4498d1bcc91117 (patch) | |
tree | 4e82d1e73bd9a8ac1096d788b684283c8f8c93dd /spec/models/follow_spec.rb | |
parent | 94d21827174c52a6b70ba2e45f098223f5d904fa (diff) |
Stop trying to shoehorn all Salmon updates into the poor database-connected
StreamEntry model. Simply render Salmon slaps as they are needed
Diffstat (limited to 'spec/models/follow_spec.rb')
-rw-r--r-- | spec/models/follow_spec.rb | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/spec/models/follow_spec.rb b/spec/models/follow_spec.rb index bc887b60d..eb21f3e18 100644 --- a/spec/models/follow_spec.rb +++ b/spec/models/follow_spec.rb @@ -5,34 +5,4 @@ RSpec.describe Follow, type: :model do let(:bob) { Fabricate(:account, username: 'bob') } subject { Follow.new(account: alice, target_account: bob) } - - describe '#verb' do - it 'is follow' do - expect(subject.verb).to be :follow - end - end - - describe '#title' do - it 'describes the follow' do - expect(subject.title).to eql 'alice started following bob' - end - end - - describe '#content' do - it 'is the same as the title' do - expect(subject.content).to eql subject.title - end - end - - describe '#object_type' do - it 'is an activity' do - expect(subject.object_type).to be :activity - end - end - - describe '#target' do - it 'is the person being followed' do - expect(subject.target).to eq bob - end - end end |