Skip to content

Commit 51f2643

Browse files
committed
Style
1 parent 9745a2f commit 51f2643

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/adapter/json_api/type_test.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,12 @@ def test_blank_id
138138
def test_for_type_with_id
139139
id = 1
140140
actual = ResourceIdentifier.for_type_with_id('admin_user', id, {})
141-
expected = { id: "1", type: 'admin-users' }
141+
expected = { id: '1', type: 'admin-users' }
142142
assert_equal actual, expected
143143
end
144144

145145
def test_for_type_with_id_given_blank_id
146-
id = ""
146+
id = ''
147147
actual = ResourceIdentifier.for_type_with_id('admin_user', id, {})
148148
expected = { type: 'admin-users' }
149149
assert_equal actual, expected
@@ -154,7 +154,7 @@ def test_for_type_with_id_inflected
154154
actual = with_jsonapi_inflection :singular do
155155
ResourceIdentifier.for_type_with_id('admin_users', id, {})
156156
end
157-
expected = { id: "2", type: 'admin-user' }
157+
expected = { id: '2', type: 'admin-user' }
158158
assert_equal actual, expected
159159
end
160160

0 commit comments

Comments
 (0)