Autofix Rubocop RSpec/BeEq (#23740)
This commit is contained in:
parent
bf785df9fe
commit
5116347eb7
39 changed files with 139 additions and 182 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue