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 3.1.7 syntax with Transpec #439

Merged
merged 1 commit into from
Feb 25, 2015

Conversation

underscorgan
Copy link

This conversion is done by Transpec 3.0.8 with the following command:
transpec spec/classes spec/defines spec/unit

  • 87 conversions
    from: it { should ... }
    to: it { is_expected.to ... }
  • 14 conversions
    from: obj.should
    to: expect(obj).to
  • 7 conversions
    from: == expected
    to: eq(expected)
  • 1 conversion
    from: it { should_not ... }
    to: it { is_expected.not_to ... }

For more details: https://github.com/yujinakayama/transpec#supported-conversions

This conversion is done by Transpec 3.0.8 with the following command:
    transpec spec/classes spec/defines spec/unit

* 87 conversions
    from: it { should ... }
      to: it { is_expected.to ... }

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

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

* 1 conversion
    from: it { should_not ... }
      to: it { is_expected.not_to ... }

For more details: https://github.com/yujinakayama/transpec#supported-conversions
@underscorgan underscorgan added this to the 2.0 milestone Feb 24, 2015
daenney added a commit that referenced this pull request Feb 25, 2015
Convert specs to RSpec 3.1.7 syntax with Transpec
@daenney daenney merged commit d6ac23f into puppetlabs:next Feb 25, 2015
@underscorgan underscorgan deleted the rspec3 branch May 8, 2015 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants