From beb621435510debfe43bdc5c483fe3083f5eb6e8 Mon Sep 17 00:00:00 2001 From: Miles Zimmerman Date: Sun, 28 Aug 2022 02:01:39 -0700 Subject: [PATCH] fix spec --- spec/integration/patches/sandbox_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/integration/patches/sandbox_spec.rb b/spec/integration/patches/sandbox_spec.rb index 2891fd9..0bf46f7 100644 --- a/spec/integration/patches/sandbox_spec.rb +++ b/spec/integration/patches/sandbox_spec.rb @@ -33,8 +33,8 @@ run_console_commands('Redis.new.set("test", "value")') # Run a new console session to ensure the redis changes were not saved - result = run_console_commands('puts "Redis.get(\'test\') = #{Redis.new.get(\'test\').nil?}"') # rubocop:disable Lint/InterpolationCheck Layout/LineLength - expect(result.stdout).to include('Redis.get("test") = true') + result = run_console_commands('puts "Redis.get(\'test\') = #{Redis.new.get(\'test\')}"') # rubocop:disable Lint/InterpolationCheck Layout/LineLength + expect(result.stdout).to include('Redis.get("test") = nil') end it "lets the user know that an operation could not be completed" do