We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea73ae2 commit ced729fCopy full SHA for ced729f
appengine/endpoints/spec/endpoint_sample_spec.rb
@@ -13,22 +13,6 @@
13
@app.set :environment, :production
14
end
15
16
- it "GET / renders home page" do
17
- get "/"
18
-
19
- expect(last_response.status).to eq 200
20
- expect(last_response.content_type).to eq "text/html;charset=utf-8"
21
- expect(last_response.body).to include "Endpoints Sample"
22
- end
23
24
- it "GET /api-docs renders Swagger specification" do
25
- get "/api-docs"
26
27
28
- expect(last_response.content_type).to eq "application/json"
29
- expect(last_response.body).to include '"title":"Endpoints Example"'
30
31
32
it "POST /echo renders message from request body" do
33
post "/echo", '{"message":"hello from test"}'
34
0 commit comments