diff options
Diffstat (limited to 'spec/models/favourite_spec.rb')
-rw-r--r-- | spec/models/favourite_spec.rb | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/spec/models/favourite_spec.rb b/spec/models/favourite_spec.rb index 6cf3af464..cc3d604d6 100644 --- a/spec/models/favourite_spec.rb +++ b/spec/models/favourite_spec.rb @@ -26,13 +26,8 @@ RSpec.describe Favourite, type: :model do end describe '#object_type' do - it 'is a note when the target is a note' do - expect(subject.object_type).to be :note - end - - it 'is a comment when the target is a comment' do - status.in_reply_to_id = 2 - expect(subject.object_type).to be :comment + it 'is an activity' do + expect(subject.object_type).to be :activity end end |