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

Add special case for Class.new method signature that should use initialize signature instead #419

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Jun 8, 2020

  1. Add special case for Class.new method signature that should use initi…

    …alize signature instead
    imanel committed Jun 8, 2020
    Configuration menu
    Copy the full SHA
    4bb202f View commit details
    Browse the repository at this point in the history
  2. Add fallback for Ruby 1.8

    imanel committed Jun 8, 2020
    Configuration menu
    Copy the full SHA
    c8d573f View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2020

  1. fixup! Simplify method properties check

    In case `it_behaves_like` is used a Proc is passed to the checker.
    If a regular method is stubbed, we pass it through.
    For stubbing `expect(MyClass).to receive(:new)` we actually need to stub
    `initialize` on the class.
    pirj committed Jun 9, 2020
    Configuration menu
    Copy the full SHA
    25c4007 View commit details
    Browse the repository at this point in the history