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

flexmock(Dog).new_instances(:allocate) disabled in 1.9 #18

Open
ratnikov opened this issue Feb 3, 2014 · 0 comments
Open

flexmock(Dog).new_instances(:allocate) disabled in 1.9 #18

ratnikov opened this issue Feb 3, 2014 · 0 comments

Comments

@ratnikov
Copy link

ratnikov commented Feb 3, 2014

Hi,

Seems like 02c927c disables :allocate for 1.9 ruby for .0.9 version. What's the underlying reason?

I'm working on migrating an existing 1.8 codebase to 1.9 and I don't think mocking :new is sufficient to get the tests working.

doudou added a commit to doudou/flexmock that referenced this issue Jun 29, 2015
The commit that explicitely disabled it on 1.9+
(02c927c) was very unspecific as to
why it was so. The test passes on 2.0+, so I am reenabling it again.

Closes jimweirich#18
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

No branches or pull requests

1 participant