Skip to content

Conversation

ChrisCPO
Copy link

@ChrisCPO ChrisCPO commented Sep 19, 2017

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]

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]>
@ChrisCPO ChrisCPO changed the title Bump version to 0.0.9 Sinatra Support Sep 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant