Skip to content

Commit beb6214

Browse files
committed
fix spec
1 parent 5bc4433 commit beb6214

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/integration/patches/sandbox_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
run_console_commands('Redis.new.set("test", "value")')
3434

3535
# Run a new console session to ensure the redis changes were not saved
36-
result = run_console_commands('puts "Redis.get(\'test\') = #{Redis.new.get(\'test\').nil?}"') # rubocop:disable Lint/InterpolationCheck Layout/LineLength
37-
expect(result.stdout).to include('Redis.get("test") = true')
36+
result = run_console_commands('puts "Redis.get(\'test\') = #{Redis.new.get(\'test\')}"') # rubocop:disable Lint/InterpolationCheck Layout/LineLength
37+
expect(result.stdout).to include('Redis.get("test") = nil')
3838
end
3939

4040
it "lets the user know that an operation could not be completed" do

0 commit comments

Comments
 (0)