From b60b5c443fcc16aca0cff42009431d71b7374f74 Mon Sep 17 00:00:00 2001 From: crimson-knight Date: Sat, 24 Sep 2022 08:24:08 -0400 Subject: [PATCH] Updated the remaining two templates that used the old GarnetSpec parent class to use the new/correct parent class --- .../controller/spec/controllers/{{name}}_controller_spec.cr.ecr | 2 +- .../error/spec/controllers/{{name}}_controller_spec.cr.ecr | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/amber/cli/templates/api/controller/spec/controllers/{{name}}_controller_spec.cr.ecr b/src/amber/cli/templates/api/controller/spec/controllers/{{name}}_controller_spec.cr.ecr index dd0dd496b..3abce197d 100644 --- a/src/amber/cli/templates/api/controller/spec/controllers/{{name}}_controller_spec.cr.ecr +++ b/src/amber/cli/templates/api/controller/spec/controllers/{{name}}_controller_spec.cr.ecr @@ -25,7 +25,7 @@ def <%= create_model_method %> model end -class <%= class_name %>ControllerTest < GarnetSpec::Controller::Test +class <%= class_name %>ControllerTest < GarnetSpec::SystemTest getter handler : Amber::Pipe::Pipeline def initialize diff --git a/src/amber/cli/templates/error/spec/controllers/{{name}}_controller_spec.cr.ecr b/src/amber/cli/templates/error/spec/controllers/{{name}}_controller_spec.cr.ecr index 41d9d6efd..72fa74e33 100644 --- a/src/amber/cli/templates/error/spec/controllers/{{name}}_controller_spec.cr.ecr +++ b/src/amber/cli/templates/error/spec/controllers/{{name}}_controller_spec.cr.ecr @@ -28,7 +28,7 @@ describe <%= class_name %>Controller do end # Controller Integration Test -class <%= class_name %>ControllerTest < GarnetSpec::Controller::Test +class <%= class_name %>ControllerTest < GarnetSpec::SystemTest getter handler : Amber::Pipe::Pipeline def initialize