Skip to content
This repository has been archived by the owner on Mar 5, 2020. It is now read-only.

Rails 4.0 Upgrade #59

Open
wants to merge 31 commits into
base: master
Choose a base branch
from
Open

Rails 4.0 Upgrade #59

wants to merge 31 commits into from

Conversation

kennethkalmer
Copy link
Owner

Basic work to get us running on Rails 4.0, as is

  • Get builds working
  • Upgrade rspec-rails and cucumber
  • Convert sloppy old tests to cucumber features with site objects
  • Upgrade to Rails 4.0.x

…y`, `be_true`, `be_false`. also refactored a few specs to use subject
This conversion is done by Transpec 3.0.7 with the following command:
    transpec

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

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

* 25 conversions
    from: be_true
      to: be_truthy

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

* 7 conversions
    from: be_false
      to: be_falsey

* 2 conversions
    from: > expected
      to: be > expected

* 2 conversions
    from: lambda { }.should
      to: expect { }.to

* 1 conversion
    from: < expected
      to: be < expected

* 1 conversion
    from: lambda { }.should_not
      to: expect { }.not_to

* 1 conversion
    from: obj.stub(:message)
      to: allow(obj).to receive(:message)

* 1 conversion
    from: pending
      to: skip

* 1 conversion
    from: pending 'is an example' { }
      to: skip 'is an example' { }

* 1 addition
      of: RSpec.configure { |c| c.infer_spec_type_from_file_location! }

For more details: https://github.com/yujinakayama/transpec#supported-conversions
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant