Autofix Rubocop RSpec/ImplicitSubject (#23721)
This commit is contained in:
parent
63e6353886
commit
38a1d8bb85
26 changed files with 184 additions and 221 deletions
|
@ -7,7 +7,7 @@ describe RelationshipsController do
|
|||
|
||||
shared_examples 'authenticate user' do
|
||||
it 'redirects when not signed in' do
|
||||
is_expected.to redirect_to '/auth/sign_in'
|
||||
expect(subject).to redirect_to '/auth/sign_in'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue