Skip to content

Commit 13910c9

Browse files
committed
Fix compatibility with Ruby 3.4+.
1 parent 745cd5a commit 13910c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/utopia/controller/respond.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def mock_request(*arguments)
6363

6464
expect(status).to be == 200
6565
expect(headers["content-type"]).to be == "text/plain"
66-
expect(body.join).to be == "{:user_id=>10}"
66+
expect(body.join).to be == {user_id: 10}.to_s
6767
end
6868
end
6969

0 commit comments

Comments
 (0)