-
Notifications
You must be signed in to change notification settings - Fork 239
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
Rspec 3 Expect Syntax for be_a_closure_tree #110
Comments
Did you add |
Yes I did. I put it inside
|
Add this in the bottom
I will send PR to fix that, you can remove this after @mceachen release a new version. Sorry. |
It seems to have fixed the previous error but there is now a new error. Please check.
|
is Category an activerecord model ? |
Yes, it is. Here is the model and its corresponding spec:
|
What version of rails do you use ? |
I'm currently using Rails 4.1.2.rc2
I think the problem here is that the default subject for a model spec is an instance of the class? |
You are totally right. Thank you! |
Thanks!! 👍 |
There seems to be a problem when I'm using the indicated matcher in the README.
The error states the following:
The text was updated successfully, but these errors were encountered: