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 2.99.1 syntax with Transpec #378

Merged
merged 1 commit into from
Aug 22, 2014
Merged

Convert specs to RSpec 2.99.1 syntax with Transpec #378

merged 1 commit into from
Aug 22, 2014

Conversation

3flex
Copy link
Contributor

@3flex 3flex commented Jul 18, 2014

This conversion is done by Transpec 2.3.4 with the following command:
transpec -c "rake spec" spec/classes/ spec/defines/ spec/spec_helper.rb

  • 210 conversions
    from: it { should ... }
    to: it { is_expected.to ... }
  • 19 conversions
    from: it { should_not ... }
    to: it { is_expected.not_to ... }
  • 15 conversions
    from: == expected
    to: eq(expected)
  • 15 conversions
    from: obj.should
    to: expect(obj).to

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

This conversion is done by Transpec 2.3.4 with the following command:
    transpec -c "rake spec" spec/classes/ spec/defines/ spec/spec_helper.rb

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

* 19 conversions
    from: it { should_not ... }
      to: it { is_expected.not_to ... }

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

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

For more details: https://github.com/yujinakayama/transpec#supported-conversions
3flex added a commit that referenced this pull request Aug 22, 2014
Convert specs to RSpec 2.99.1 syntax with Transpec
@3flex 3flex merged commit 0adf7f7 into voxpupuli:master Aug 22, 2014
@3flex 3flex deleted the rspec2.99-updates branch August 22, 2014 15:50
cegeka-jenkins pushed a commit to cegeka/puppet-nginx that referenced this pull request Oct 23, 2017
Convert specs to RSpec 2.99.1 syntax with Transpec
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