Autofix Rubocop RSpec/ImplicitSubject (#23721)
This commit is contained in:
parent
63e6353886
commit
38a1d8bb85
26 changed files with 184 additions and 221 deletions
|
@ -10,7 +10,7 @@ RSpec.describe MediaAttachment, type: :model do
|
|||
let(:remote_url) { '' }
|
||||
|
||||
it 'returns true' do
|
||||
is_expected.to be true
|
||||
expect(subject).to be true
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -18,7 +18,7 @@ RSpec.describe MediaAttachment, type: :model do
|
|||
let(:remote_url) { 'remote_url' }
|
||||
|
||||
it 'returns false' do
|
||||
is_expected.to be false
|
||||
expect(subject).to be false
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -35,7 +35,7 @@ RSpec.describe MediaAttachment, type: :model do
|
|||
let(:remote_url) { 'remote_url' }
|
||||
|
||||
it 'returns true' do
|
||||
is_expected.to be true
|
||||
expect(subject).to be true
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -47,7 +47,7 @@ RSpec.describe MediaAttachment, type: :model do
|
|||
let(:remote_url) { '' }
|
||||
|
||||
it 'returns false' do
|
||||
is_expected.to be false
|
||||
expect(subject).to be false
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -55,7 +55,7 @@ RSpec.describe MediaAttachment, type: :model do
|
|||
let(:remote_url) { 'remote_url' }
|
||||
|
||||
it 'returns true' do
|
||||
is_expected.to be false
|
||||
expect(subject).to be false
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue