Skip to content

Commit

Permalink
change to grouping_key
Browse files Browse the repository at this point in the history
  • Loading branch information
murtyk committed May 19, 2016
1 parent d2cbb92 commit acef542
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/unit/client_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def test_full_payload_hash
e.set_backtrace(["/some/folder/some_file.rb:123:in `some_method_name'",
"/another/path/foo.rb:1234:in `block (3 levels) run'"])

groupingKey = "my custom group"
grouping_key = "my custom group"

expected_hash = {
occurredOn: Time.now.utc.iso8601,
Expand All @@ -168,11 +168,11 @@ def test_full_payload_hash
userCustomData: {},
tags: ["test"],
request: {},
groupingKey: groupingKey
groupingKey: grouping_key
}
}

assert_equal expected_hash, @client.send(:build_payload_hash, e, { groupingKey: groupingKey })
assert_equal expected_hash, @client.send(:build_payload_hash, e, { grouping_key: grouping_key })
end
end

Expand Down

0 comments on commit acef542

Please sign in to comment.