Skip to content

Commit ced729f

Browse files
committed
Fix the tests.
1 parent ea73ae2 commit ced729f

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

appengine/endpoints/spec/endpoint_sample_spec.rb

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,6 @@
1313
@app.set :environment, :production
1414
end
1515

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-
expect(last_response.status).to eq 200
28-
expect(last_response.content_type).to eq "application/json"
29-
expect(last_response.body).to include '"title":"Endpoints Example"'
30-
end
31-
3216
it "POST /echo renders message from request body" do
3317
post "/echo", '{"message":"hello from test"}'
3418

0 commit comments

Comments
 (0)