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

Rspec 3 and 2 compatibility #225

Merged
merged 21 commits into from
Oct 23, 2014
Merged

Rspec 3 and 2 compatibility #225

merged 21 commits into from
Oct 23, 2014

Conversation

tuxmea
Copy link
Contributor

@tuxmea tuxmea commented Sep 24, 2014

Remove deprecation warnings on

  • example_groups
  • failure_message in matchers
    But still keeping RSpec 2 functional

@@ -12,7 +12,7 @@ module ManifestMatchers
"include Class[#{expected_class}]"
end

failure_message_for_should do |actual|
failure_message do |actual|
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll probably need to alias failure_message to failure_message_for_should here

@Sharpie
Copy link

Sharpie commented Oct 18, 2014

Looks good to me 👍

Any progress on getting this merged and shipped? I'm starting a new module and would love to start the test suite off against RSpec 3 and save the pain of an upgrade down the road.

@tuxmea
Copy link
Contributor Author

tuxmea commented Oct 20, 2014

@rodjek I have finished the work on rspec2/3 compatibility and have added some more tests. Please let me know whether you see stuff which needs to get changed.

rodjek pushed a commit that referenced this pull request Oct 23, 2014
Rspec 3 and 2 compatibility
@rodjek rodjek merged commit 6ac9799 into rodjek:master Oct 23, 2014
This was referenced Oct 30, 2014
@rodjek rodjek added this to the 2.0.0 milestone Sep 29, 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.

3 participants