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

Commits on Jul 18, 2014

  1. Convert specs to RSpec 2.99.1 syntax with Transpec

    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
    Matthew Haughton committed Jul 18, 2014
    Configuration menu
    Copy the full SHA
    32bc360 View commit details
    Browse the repository at this point in the history