File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -138,12 +138,12 @@ def test_blank_id
138
138
def test_for_type_with_id
139
139
id = 1
140
140
actual = ResourceIdentifier . for_type_with_id ( 'admin_user' , id , { } )
141
- expected = { id : "1" , type : 'admin-users' }
141
+ expected = { id : '1' , type : 'admin-users' }
142
142
assert_equal actual , expected
143
143
end
144
144
145
145
def test_for_type_with_id_given_blank_id
146
- id = ""
146
+ id = ''
147
147
actual = ResourceIdentifier . for_type_with_id ( 'admin_user' , id , { } )
148
148
expected = { type : 'admin-users' }
149
149
assert_equal actual , expected
@@ -154,7 +154,7 @@ def test_for_type_with_id_inflected
154
154
actual = with_jsonapi_inflection :singular do
155
155
ResourceIdentifier . for_type_with_id ( 'admin_users' , id , { } )
156
156
end
157
- expected = { id : "2" , type : 'admin-user' }
157
+ expected = { id : '2' , type : 'admin-user' }
158
158
assert_equal actual , expected
159
159
end
160
160
You can’t perform that action at this time.
0 commit comments