File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 66 crack (0.4.3 )
77 safe_yaml (~> 1.0.0 )
88 hashdiff (1.0.1 )
9- httparty (0.14.0 )
9+ httparty (0.18.1 )
10+ mime-types (~> 3.0 )
1011 multi_xml (>= 0.5.2 )
1112 json (2.3.0 )
13+ mime-types (3.3.1 )
14+ mime-types-data (~> 3.2015 )
15+ mime-types-data (3.2020.0512 )
1216 minitest (5.14.1 )
1317 multi_xml (0.6.0 )
1418 public_suffix (4.0.5 )
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ def test_basic_auth_delete
139139 response = @basic_auth . delete "products/1234?force=true"
140140
141141 assert_equal 202 , response . code
142- assert_equal '{"message":"Permanently deleted product"}' , response . to_json
142+ assert_equal '{"message":"Permanently deleted product"}' , response . body
143143 end
144144
145145 def test_basic_auth_delete_params
@@ -157,7 +157,7 @@ def test_basic_auth_delete_params
157157 response = @basic_auth . delete "products/1234" , force : true
158158
159159 assert_equal 202 , response . code
160- assert_equal '{"message":"Permanently deleted product"}' , response . to_json
160+ assert_equal '{"message":"Permanently deleted product"}' , response . body
161161 end
162162
163163 def test_oauth_delete
@@ -170,7 +170,7 @@ def test_oauth_delete
170170 response = @oauth . delete "products/1234?force=true"
171171
172172 assert_equal 202 , response . code
173- assert_equal '{"message":"Permanently deleted product"}' , response . to_json
173+ assert_equal '{"message":"Permanently deleted product"}' , response . body
174174 end
175175
176176 def test_adding_query_params
You can’t perform that action at this time.
0 commit comments