Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Convert (most) specs to RSpec 2.14.8 syntax using transpec. Skip custom matchers #116

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

loganhasson
Copy link

...matchers.

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

  • 351 conversions
    from: obj.should
    to: expect(obj).to
  • 220 conversions
    from: == expected
    to: eq(expected)
  • 28 conversions
    from: obj.should_not
    to: expect(obj).not_to
  • 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: > expected
    to: be > expected

…om matchers.

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

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

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

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

* 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: > expected
      to: be > expected
@CLAassistant
Copy link

CLAassistant commented Nov 16, 2019

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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.

2 participants