spec/unit/request_pattern_spec.rb in webmock-3.12.0 vs spec/unit/request_pattern_spec.rb in webmock-3.12.1
- old
+ new
@@ -611,15 +611,15 @@
body: "<opt a=\"1\" b=\"five\">\n <c>\n <d>e</d>\n <d>f</d>\n </c>\n</opt>\n"))
end
end
- context "standard application/json" do
+ context "standard application/xml" do
let(:content_type) { 'application/xml' }
it_behaves_like "a xml body"
end
- context "custom json content type" do
+ context "custom xml content type" do
let(:content_type) { 'application/atom+xml' }
it_behaves_like "a xml body"
end
end
end