fix PostsController specs by using explicit form of the sign_in helper
This commit is contained in:
parent
0d42285496
commit
b3e59dc3d5
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ describe PostsController do
|
|||
describe '#show' do
|
||||
context 'user signed in' do
|
||||
before do
|
||||
sign_in alice
|
||||
sign_in :user, alice
|
||||
end
|
||||
|
||||
it 'succeeds' do
|
||||
|
|
|
|||
Loading…
Reference in a new issue