Skip to content

Commit 160ae8b

Browse files
fix error in the authenticable_test (#73)
Error in the authenticable_test setup once the MockController was created
1 parent 689fe1e commit 160ae8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rails6/fr/chapter04-authentication.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ Ensuite nous pouvons implémenter nos deux tests juste après
378378
class AuthenticableTest < ActionDispatch::IntegrationTest
379379
setup do
380380
@user = users(:one)
381-
@authentication = Authentication.new
381+
@authentication = MockController.new
382382
end
383383
384384
test 'should get user from Authorization token' do

0 commit comments

Comments
 (0)