Autofix Rubocop RSpec/BeEq (#23740)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user