Autofix Rubocop RSpec/ImplicitSubject (#23721)
This commit is contained in:
parent
63e6353886
commit
38a1d8bb85
26 changed files with 184 additions and 221 deletions
|
@ -33,7 +33,7 @@ describe Report do
|
|||
end
|
||||
|
||||
it 'assigns to a given account' do
|
||||
is_expected.to eq current_account.id
|
||||
expect(subject).to eq current_account.id
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -48,7 +48,7 @@ describe Report do
|
|||
end
|
||||
|
||||
it 'unassigns' do
|
||||
is_expected.to be_nil
|
||||
expect(subject).to be_nil
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue