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
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
You can’t perform that action at this time.
0 commit comments