mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 15:23:06 +00:00
re: RuboCop - replace rocket style hashes
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user