The recent update to 2.3.3 is breaking my entire suite with the same
error. I guess something in the load order changed?
e.g.:
Fixture::FormatError in ‘PublishedGallery Methods#thumbnail should
delegate to its lead asset’
a YAML error occurred parsing /Users/mpd/timber/spec/fixtures/
galleries.yml. Please note that YAML must be consistently indented
using spaces. Tabs are not allowed. Please have a look at http://www.yaml.org/faq.html
The exact error was:
NoMethodError: undefined method `abstract_class?’ for Object:Class
The YAML error is a red herring. Every spec failure mentions the same
error, but the fixture files are all fine. This is happening with both
rspec 1.2.7 and 1.2.8.
Switching RAILS_GEM_VERSION back to 2.3.2 in environment.rb
immediately re-greens the entire suite with no other changes (in both
above-mentioned versions of rspec,) and running in dev mode seems to
be ok, so I’m guessing it’s just something with my test env setup.
However I get no stack trace output or anything for the failures,
other than a message similar to the above. I’m hitting a wall here.
a YAML error occurred parsing /Users/mpd/timber/spec/fixtures/
Switching RAILS_GEM_VERSION back to 2.3.2 in environment.rb
immediately re-greens the entire suite with no other changes (in both
above-mentioned versions of rspec,) and running in dev mode seems to
be ok, so I’m guessing it’s just something with my test env setup.
However I get no stack trace output or anything for the failures,
other than a message similar to the above. I’m hitting a wall here.
Any ideas?
thanks.
Hi, are you sure that all the gems and plugins that you’re using within
your Rails application supported with 2.3.3? Did you include any fixes
in 2.3.2 that were fixed by 2.3.3. Next, can you produce a minimum set
of files to reproduce the issue? If so, I would recommend posting a
bug report here:
-Conrad
Thank you for responding. I can’t come up with minimum set of files to
reproduce
without giving out code that I don’t have license to give out,
unfortunately.
I’ve dug further into this, and the failure seems to be from ERB: