From 96c2eadfad721a611bdae6ac7dbb1c4445dc6f8d Mon Sep 17 00:00:00 2001 From: Alexander Meindl Date: Thu, 12 May 2022 18:58:20 +0200 Subject: [PATCH] Fix spelling error --- test/crud_controller_base.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/crud_controller_base.rb b/test/crud_controller_base.rb index 8090d3b8..5fd580d8 100644 --- a/test/crud_controller_base.rb +++ b/test/crud_controller_base.rb @@ -59,8 +59,8 @@ module CrudControllerBase get :index, params: @crud[:index_params] - if @crud[:index_forbitten_status].present? - assert_response @crud[:index_forbitten_status] + if @crud[:index_forbidden_status].present? + assert_response @crud[:index_forbidden_status] else assert_response :forbidden end