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

Update to rspec3 #6

Closed

Conversation

JunichiIto
Copy link

Some gems have dependency to GenSpec and I could not update them to RSpec 3, so I updated GenSpec to RSpec 3. If you update GenSpec, I will resume updating other gems.

This conversion is done by Transpec 2.3.7 with the following command:
    transpec

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

* 11 conversions
    from: obj.should_not
      to: expect(obj).not_to

* 3 conversions
    from: == expected
      to: eq(expected)

* 3 conversions
    from: proc { }.should_not
      to: expect { }.not_to

* 1 conversion
    from: proc { }.should
      to: expect { }.to

For more details: https://github.com/yujinakayama/transpec#supported-conversions
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.89%) when pulling cf6002b on JunichiIto:update-to-rspec3 into fb09919 on sinisterchipmunk:master.

@sinisterchipmunk
Copy link
Owner

Thanks, I addressed this same issue today and somehow managed to not see this PR (yes, I know, for a year and a half; my apologies). I think I made equivalent changes across the board but if you feel I missed something or have more issues please let me know.

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

3 participants