Skip to content

Sinatra Support #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Sinatra Support #19

wants to merge 1 commit into from

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