You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
solves deprication warning for:
The `:example_group` key in an example group's metadata hash is deprecated. Use the example group's hash directly for the computed keys and `:parent_example_group` to access the parent example group metadata instead. Called from /home/chris/dev/forked_gems/rspec_api
also solves scope issue with rspec hooks, the example needs tobe passed into
the block.
adds support for non-Rails(Sintra) apps tested via rspec and Rack::test
Signed-off-by: ChrisCPO <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,10 @@ Write tests using the following convention:
29
29
- Tests must be placed in `spec/requests` folder or they have to be tagged with `type: :request`
30
30
- Top level descriptions are named after the model (plural form) followed by the word “Requests”. For a example model called Arena it would be “Arenas Requests”.
31
31
- Second level descriptions are actions in the form of “VERB path”. For the show action of the Arenas controller it would be “GET /arenas/{id}”.
32
+
- Run your specs as normal and files named after the plural form of the model will
33
+
be created in a folder at the root directory of your project named
34
+
'/api_docs'. The documentation for Arenas would be at
0 commit comments