Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed deprecated syntax in specs, better aligned with Ruby Style Guide throughout, allowed token strategy to existing token if it exists. #1

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

Conversation

colstrom
Copy link

All tests passing, feel free to take whichever commits are useful. This was mostly for my use, but it seems reasonable to share back upstream, if this is actively maintained.

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

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

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

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

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

* 5 conversions
    from: obj.should_receive(:message)
      to: expect(obj).to receive(:message)
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.

1 participant