Skip to content

fabn's Test fix#7

Closed
jmonteiro wants to merge 31 commits intomasterfrom
fabn-test-fix
Closed

fabn's Test fix#7
jmonteiro wants to merge 31 commits intomasterfrom
fabn-test-fix

Conversation

@jmonteiro
Copy link
Copy Markdown
Member

fabn and others added 30 commits October 2, 2017 21:58
This conversion is done by Transpec 3.3.0 with the following command:
    transpec -f

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

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

* 6 conversions
    from: obj.should_receive(:message)
      to: expect(obj).to receive(:message)

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

* 2 conversions
    from: =~ /pattern/
      to: match(/pattern/)

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

* 1 conversion
    from: obj.should_not_receive(:message)
      to: expect(obj).not_to receive(:message)

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

For more details: https://github.com/yujinakayama/transpec#supported-conversions
…ng in travis until I found a working config for headless testing
@jmonteiro jmonteiro closed this May 15, 2019
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.

2 participants