diff --git a/rails6/fr/chapter04-authentication.adoc b/rails6/fr/chapter04-authentication.adoc index 2ee9cd3..5f7b119 100644 --- a/rails6/fr/chapter04-authentication.adoc +++ b/rails6/fr/chapter04-authentication.adoc @@ -378,7 +378,7 @@ Ensuite nous pouvons implémenter nos deux tests juste après class AuthenticableTest < ActionDispatch::IntegrationTest setup do @user = users(:one) - @authentication = Authentication.new + @authentication = MockController.new end test 'should get user from Authorization token' do