about summary refs log tree commit diff
path: root/spec/models/favourite_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/favourite_spec.rb')
-rw-r--r--spec/models/favourite_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/favourite_spec.rb b/spec/models/favourite_spec.rb
index ba1410a45..f755590ee 100644
--- a/spec/models/favourite_spec.rb
+++ b/spec/models/favourite_spec.rb
@@ -9,7 +9,7 @@ RSpec.describe Favourite, type: :model do
 
     it 'invalidates if the reblogged status is already a favourite' do
       Favourite.create!(account: account, status: reblog)
-      expect(Favourite.new(account: account, status: status).valid?).to eq false
+      expect(Favourite.new(account: account, status: status).valid?).to be false
     end
 
     it 'replaces status with the reblogged one if it is a reblog' do