From 5ff35f3209bde4baced0dde1f037f0a8fe669e43 Mon Sep 17 00:00:00 2001 From: Noah Gibbs Date: Fri, 29 Sep 2023 18:40:18 +0100 Subject: [PATCH] Use a specific test object for CatsCradle, not Shoes::App --- lacci/lib/shoes/app.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lacci/lib/shoes/app.rb b/lacci/lib/shoes/app.rb index 69545bebc..25a823617 100644 --- a/lacci/lib/shoes/app.rb +++ b/lacci/lib/shoes/app.rb @@ -55,7 +55,8 @@ def initialize( if ENV["SCARPE_APP_TEST"] test_code = File.read ENV["SCARPE_APP_TEST"] if test_code != "" - self.instance_eval test_code + @test_obj = Object.new + @test_obj.instance_eval test_code end end