spec/simple/httpd/services/service_explicit_spec.rb in simple-httpd-0.3.0 vs spec/simple/httpd/services/service_explicit_spec.rb in simple-httpd-0.3.1
- old
+ new
@@ -20,14 +20,9 @@
it "complains on missing body arguments" do
http.post "/example_service/echo/1?b=2&c=3", { two: "bar" }
expect_response 422
end
- it "ignores missing parameters arguments" do
- http.post "/example_service/echo/1", { one: "foo", two: "bar" }
- expect_response "one: [foo]/two: [bar]/a: [1]/b: []"
- end
-
it "properly extracts arguments and parameters" do
http.put "/example_service/echo_context"
expect_response /Simple::Service::Context/
end
end