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