Skip to content

Commit

Permalink
Turn off URL globbing parser for curl get requests
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexParamonov committed Apr 21, 2017
1 parent bcc806d commit e086d9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion features/slate_documentation.feature
Expand Up @@ -203,7 +203,7 @@ Feature: Generate Slate documentation from test examples
```shell
curl "http://localhost:3000/orders" -X GET \
curl -g "http://localhost:3000/orders" -X GET \
-H "Host: example.org" \
-H "Cookie: "
"""
Expand Down
2 changes: 1 addition & 1 deletion lib/rspec_api_documentation/curl.rb
Expand Up @@ -16,7 +16,7 @@ def post
end

def get
"curl \"#{url}#{get_data}\" -X GET #{headers}"
"curl -g \"#{url}#{get_data}\" -X GET #{headers}"
end

def head
Expand Down

0 comments on commit e086d9a

Please sign in to comment.