-
Notifications
You must be signed in to change notification settings - Fork 13
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
undefined method `collect' for nil:NilClass error when running rspec spec with -fd flag #13
Comments
Additional weird behavior, no errors:
Same code, different rspec invocation:
This time, the failures occurred in only one rspec file, whereas other files with |
Also found some invalid HTML in Devise's markup using your gem: |
Can you give us a little bit more information: e.g. rspec version, full stack trace of where the error occurs, etc? |
My rspec version: Here's a typical stack trace. Looks like `be_valid_asset' might be tangling with the 'representable' gem in some way:
|
I have some unusual failures when using this gem in rspec tests:
If I run rspec like this:
I get lots of failures from
should be_valid_markup
, in all the tests where I use it.If I run my tests like this:
Or this:
They all pass.
Any idea what is going on here? This gem has helped me keep my HTML valid, so thanks for that!
The text was updated successfully, but these errors were encountered: