-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
289ba4316 broke instantiating factories in Rails 3 #156
Comments
+1 for this. |
+1 since 2.0.0.rc2 |
Also, I'm running this on MRI 1.9.2. |
+1 for our team as well. We're not using factory_girl_rails (not using Rails), just the regular factory_girl. We can't upgrade beyond 2.0.0.rc1. |
+1, same issue here. |
+1 I also ran into this issue, while trying to get one of the Rails 3.1 starter apps running. |
+1, same issue here. |
The fix in 2.0.0.rc4 looks good. I can no longer reproduce this problem after upgrading. |
2.0.0.rc4 fixed the issue. Thanks! Closing the ticket. |
I just bumped the version of factory_girl from 2.0.0.rc1 to 2.0.0.rc3 and started receiving errors messages like this:
ArgumentError Exception: Not registered: block_given?
My guess is that 289ba43 somehow broke FactoryGirl in Rails 3.
I can provide code if needed.
But the example is easy.
I stuck a debugger in one of my specs and tried the following:
e foo = Factory.create(:provider)
which resulted in the following error:
ArgumentError Exception: Not registered: block_given?
Hopefully this helps.
The text was updated successfully, but these errors were encountered: