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

Transpec fixes #114

Merged
merged 2 commits into from
Oct 31, 2014
Merged

Transpec fixes #114

merged 2 commits into from
Oct 31, 2014

Conversation

petems
Copy link
Owner

@petems petems commented Sep 4, 2014

Upgrades Rspec syntax to newer 3.0 syntax, would help out if we plan to upgrade to 3.0 anytime soon. Or if we want the deprecation messages to go away 👍

Peter Souter added 2 commits September 4, 2014 00:45
This conversion is done by Transpec 2.3.7 with the following command:
    transpec

* 68 conversions
    from: obj.should_receive(:message)
      to: expect(obj).to receive(:message)

* 17 conversions
    from: obj.should
      to: expect(obj).to

* 6 conversions
    from: obj.stub(:message)
      to: allow(obj).to receive(:message)

* 1 conversion
    from: == expected
      to: eq(expected)

* 1 conversion
    from: RSpec.configure { |c| c.color_enabled = something }
      to: RSpec.configure { |c| c.color = something }

For more details: https://github.com/yujinakayama/transpec#supported-conversions
petems added a commit that referenced this pull request Oct 31, 2014
@petems petems merged commit a8ae8f0 into master Oct 31, 2014
@petems petems deleted the transpec_fixes branch October 31, 2014 15:14
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