Use framework helpers instead of i-vars in controller specs (#27767)
This commit is contained in:
@@ -10,7 +10,7 @@ RSpec.describe HomeController do
|
||||
|
||||
context 'when not signed in' do
|
||||
it 'returns http success' do
|
||||
@request.path = '/'
|
||||
request.path = '/'
|
||||
expect(subject).to have_http_status(:success)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user