Skip to content

Commit

Permalink
Update Action Cable test suite for Ruby 3.4 Hash#inspect
Browse files Browse the repository at this point in the history
  • Loading branch information
byroot committed Oct 5, 2024
1 parent 926cb7e commit 23692fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actioncable/test/channel/base_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def error_handler
@connection.server.config.filter_parameters << :password
data = { password: "password", foo: "foo" }

assert_logged(':password=>"[FILTERED]"') do
assert_logged({ password: "[FILTERED]" }.inspect[1..-2]) do
@channel.perform_action data
end
end
Expand Down

0 comments on commit 23692fb

Please sign in to comment.