Skip to content

Commit 4abff6f

Browse files
committed
Correct MockController usage
1 parent 33d499c commit 4abff6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rails6/en/chapter04-athentification.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ Then we can implement our two tests right after
376376
class AuthenticableTest < ActionDispatch::IntegrationTest
377377
setup do
378378
@user = users(:one)
379-
@authentication = Authentication.new
379+
@authentication = MockController.new
380380
end
381381
382382
test 'should get user from Authorization token' do

0 commit comments

Comments
 (0)