Skip to content

Commit

Permalink
Fix compatibility with string formatting of Hash.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Dec 15, 2024
1 parent ba1dd6a commit c2f6c43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/server/tcp_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
end

it "should retrieve remote address" do
expect(get('/')).to include('"REMOTE_ADDR"=>"127.0.0.1"')
expect(get('/')).to be =~ /"REMOTE_ADDR"\s*=>\s*"127.0.0.1"/
end

after do
Expand Down

0 comments on commit c2f6c43

Please sign in to comment.