Skip to content
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

support refute_raise[s] #20

Merged
merged 3 commits into from
Mar 12, 2018
Merged

support refute_raise[s] #20

merged 3 commits into from
Mar 12, 2018

Conversation

dabroz
Copy link
Contributor

@dabroz dabroz commented Mar 11, 2018

Some code that I'm working on uses refute_raise[s]:

      refute_raises(RuntimeError) { session.save_changes }

This PR adds support for this operation, and converts it to:

    expect { session.save_changes }.to_not(raise_error(RuntimeError))

@jaredbeck jaredbeck merged commit 33fca83 into jaredbeck:master Mar 12, 2018
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.

None yet

2 participants