Skip to content

Commit ee5ff94

Browse files
arturoherreroTim Vandecasteele
authored andcommitted
Improve descriptions spec
1 parent 2c757fa commit ee5ff94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/hide_api_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class HideNamespaceApi < Grape::API
6464

6565
def app; HideNamespaceApi end
6666

67-
it "retrieves the documentation for mounted-api" do
67+
it "retrieves swagger-documentation on /swagger_doc" do
6868
get '/swagger_doc.json'
6969
JSON.parse(last_response.body).should == {
7070
"apiVersion" => "0.1",
@@ -78,7 +78,7 @@ def app; HideNamespaceApi end
7878
}
7979
end
8080

81-
it "retrieves the documentation for mounted-api that doesn't include hidden paths" do
81+
it "retrieves the documentation for mounted-api that doesn't include hidden endpoints" do
8282
get '/swagger_doc/simple.json'
8383
JSON.parse(last_response.body).should == {
8484
"apiVersion" => "0.1",

0 commit comments

Comments
 (0)