test/params_cleaner_test.rb in airbrake-4.3.6 vs test/params_cleaner_test.rb in airbrake-4.3.7

- old
+ new

@@ -35,18 +35,18 @@ 'abc' => '123', 'def' => '456', 'ghi' => '789', 'something_with_abc' => 'match the entire string', 'nested_hash' => { 'abc' => '100', 'ghi' => '789' }, - 'nested_array' => [{ 'abc' => '100' }, { 'ghi' => '789' }, 'xyz'] + 'nested_array' => [{ 'abc' => '100' }, { 'ghi' => '789' }, 'xyz', [['asd', []]]] } filtered = { 'abc' => '[FILTERED]', 'def' => '[FILTERED]', 'ghi' => '789', 'something_with_abc' => 'match the entire string', 'nested_hash' => { 'abc' => '[FILTERED]', 'ghi' => '789' }, - 'nested_array' => [{ 'abc' => '[FILTERED]' }, { 'ghi' => '789' }, 'xyz'] + 'nested_array' => [{ 'abc' => '[FILTERED]' }, { 'ghi' => '789' }, 'xyz', [['asd', []]]] } clean_params = clean(:params_filters => filters, attribute => original) assert_equal(filtered, clean_params.send(attribute))