Upgrade syntax #1202

Merged
merged 3 commits into from Nov 26, 2013

Conversation

Projects
None yet
2 participants
@myronmarston
Member

myronmarston commented Nov 26, 2013

No description provided.

myronmarston added some commits Nov 25, 2013

Convert specs to the latest RSpec syntax with Transpec
This conversion is done by Transpec 1.4.0 with the following command:
    transpec -m -s --keep deprecated --keep oneliner

* 86 conversions
    from: obj.stub(:message)
      to: allow(obj).to receive(:message)

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

* 25 conversions
    from: obj.stub(:message => value)
      to: allow(obj).to receive_messages(:message => value)

* 8 conversions
    from: obj.should_not_receive(:message)
      to: expect(obj).not_to receive(:message)
@JonRowe

This comment has been minimized.

Show comment
Hide comment
@JonRowe

JonRowe Nov 26, 2013

Member

LGTM :)

Member

JonRowe commented Nov 26, 2013

LGTM :)

JonRowe added a commit that referenced this pull request Nov 26, 2013

@JonRowe JonRowe merged commit c2f3da3 into master Nov 26, 2013

1 check passed

default The Travis CI build passed
Details

@JonRowe JonRowe deleted the upgrade-syntax branch Nov 26, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment