From dc666a2ee3f0490eb0c611cf39ca1c4bae0c57f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diane=20Delall=C3=A9e?= Date: Wed, 26 May 2021 12:23:08 +0200 Subject: [PATCH] fix error in the authenticable_test Error in the authenticable_test setup once the MockController was created --- rails6/fr/chapter04-authentication.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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