Convert specs to RSpec expect syntax with transpec #1057

Merged
merged 1 commit into from Jul 18, 2014

Conversation

Projects
None yet
3 participants
@loganhasson
Contributor

loganhasson commented May 15, 2014

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

  • 11 conversions
    from: obj.should
    to: expect(obj).to
  • 5 conversions
    from: == expected
    to: eq(expected)
  • 2 conversions
    from: expect(collection).to have(n).items
    to: expect(collection.size).to eq(n)
  • 1 conversion
    from: collection.should have(n).items
    to: expect(collection.size).to eq(n)
  • 1 conversion
    from: obj.should_not
    to: expect(obj).not_to
Convert specs to RSpec 2.14.8 syntax with Transpec
This conversion is done by Transpec 1.13.1 with the following command:
    transpec

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

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

* 2 conversions
    from: expect(collection).to have(n).items
      to: expect(collection.size).to eq(n)

* 1 conversion
    from: collection.should have(n).items
      to: expect(collection.size).to eq(n)

* 1 conversion
    from: obj.should_not
      to: expect(obj).not_to
@Kriechi

This comment has been minimized.

Show comment
Hide comment
@Kriechi

Kriechi Jun 1, 2014

Contributor

👍 for using the new expect-to syntax in rspec.
The travis build seems to be fine, only rubinius-related hiccup...

Contributor

Kriechi commented Jun 1, 2014

👍 for using the new expect-to syntax in rspec.
The travis build seems to be fine, only rubinius-related hiccup...

leehambley added a commit that referenced this pull request Jul 18, 2014

Merge pull request #1057 from loganhasson/master
Convert specs to RSpec expect syntax with transpec

@leehambley leehambley merged commit 3e664b0 into capistrano:master Jul 18, 2014

1 check failed

continuous-integration/travis-ci The Travis CI build could not complete due to an error
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment