Open
Conversation
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.
if running within another example raises error. for example:
config.around(:each) do |example|
DB.transaction(:rollback=>:always, :auto_savepoint=>true) { example.run }
end
when a example is called it rases an error.
Adds support for non-Rails(Sintra) apps tested via rspec and Rack::test
read from params if body is empty
Sinatra handels POST and PATCH differently from the other requests for
json.
Signed-off-by: ChrisCPO <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
solves deprication warning for:
The
:example_groupkey in an example group's metadata hash is deprecated. Use the example group's hash directly for the computed keys and:parent_example_groupto access the parent example group metadata instead. Called from /home/chris/dev/forked_gems/rspec_apiAlso solves scope issue with rspec hooks, the example needs tobe passed
into the block.
if running within another example raises error. for example:
config.around(:each) do |example|
DB.transaction(:rollback=>:always, :auto_savepoint=>true) { example.run }
end
when a example is called it rases an error.
Adds support for non-Rails(Sintra) apps tested via rspec and Rack::test
read from params if body is empty
Sinatra handels POST and PATCH differently from the other requests for
json.
Signed-off-by: ChrisCPO [email protected]