lib/setsuzoku/rspec/dynamic_spec_helper.rb in setsuzoku-0.14.7 vs lib/setsuzoku/rspec/dynamic_spec_helper.rb in setsuzoku-0.14.8
- old
+ new
@@ -276,10 +276,10 @@
body = body.to_json if body.is_a?(Hash)
body = JSON.parse(body).sort.to_h
end
[url, body]
rescue
- [url, nil]
+ [url, {}]
end
end
end
end
\ No newline at end of file