re: RuboCop - replace rocket style hashes

This commit is contained in:
Alexey Dubovskoy
2016-06-21 09:34:52 +01:00
parent 26aa06284f
commit 800221ed90
7 changed files with 22 additions and 22 deletions

View File

@@ -63,7 +63,7 @@ module ActiveModelSerializers
def test_transform_dash
mock_request(:dash)
assert_equal({
blog: { id: 1, "special-attribute": 'neat', articles: nil }
blog: { id: 1, :"special-attribute" => 'neat', articles: nil }
}, @adapter.serializable_hash)
end