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

Rejig tests #238

Merged
merged 5 commits into from
Jan 5, 2014
Merged

Rejig tests #238

merged 5 commits into from
Jan 5, 2014

Conversation

rodjek
Copy link
Owner

@rodjek rodjek commented Jan 5, 2014

  • Remove the have_problem and only_have_problem matchers in favour of a new contain_{warning,error,fixed} matcher. This matcher greatly improves the readability of the specs and improves the output of the tests on failure.
  • Changes all the specs over to the new rspec expect syntax
  • Updates the define defined inside a class message to defined type defined inside a class, because it annoyed me.

rodjek added 5 commits January 5, 2014 19:25
This removes the kind of janky have_problem and only_have_problem
matchers with the new contain_(warning,error,fixed) matcher. This
greatly improves the readability of both the tests and their output on
failure.
This annoyed me when I was fixing the specs, so I’m going to change it
now.
rodjek pushed a commit that referenced this pull request Jan 5, 2014
@rodjek rodjek merged commit 1b5e981 into master Jan 5, 2014
@rodjek rodjek deleted the rejig_tests branch January 5, 2014 09:29
@rodjek rodjek added this to the 1.0.0 milestone Aug 17, 2014
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