-
Notifications
You must be signed in to change notification settings - Fork 202
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
version 2 raise_error no longer catches errors. #254
Comments
mkrakowitzer
added a commit
to voxpupuli/puppet-jira
that referenced
this issue
Feb 8, 2015
Did this get fixed? I was seeing the same thing and worked around the issue by doing the following.
The following used to work
|
Does this form work better: it { should raise_error(Puppet::Error, /not supported/) } |
its the same but its just using rspec 2 instead of rspec 3 expect syntax. They both do the same thing. |
Thank you, both suggestions resolved my issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This currently works with 1.0.1
when running on version 2 I get
The text was updated successfully, but these errors were encountered: