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

Convert specs to RSpec expect syntax with transpec #194

Merged
merged 1 commit into from
Jul 7, 2014

Conversation

loganhasson
Copy link
Contributor

One failing test still (though, it's a different failing test than the existing test suite).

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

  • 76 conversions
    from: obj.should
    to: expect(obj).to
  • 25 conversions
    from: == expected
    to: eq(expected)
  • 7 conversions
    from: obj.should_not
    to: expect(obj).not_to
  • 4 conversions
    from: =~ /pattern/
    to: match(/pattern/)

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

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

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

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

* 4 conversions
    from: =~ /pattern/
      to: match(/pattern/)
@gabskoro gabskoro merged commit e1e74de into mina-deploy:master Jul 7, 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.

2 participants