sandro/specjour

Using specjour with Rails 3.2

gerry3 opened this issue · 2 comments

We had specjour (0.4.1) working with our rails app (rails 3.0.12 & rspec 2.5.0 & rspec-rails 2.5.0) by using some hooks to reset fixtures after each test and load the test db after each fork.

We just upgraded to rails 3.2.6 & rspec 2.10.0 & rspec-rails 2.10.1 & specjour 0.5.6. All specs pass when we run rake spec.

When we run specs with specjour, we are having a lot of specs failing. We worked around the known rspec-core issue by patching it to keep the configuration around (rather than resetting it). We worked around a fixture issue (a name changed). A lot of the specs that are still failing seem to be related to code that uses the Rails cache.

Does anyone know of a version combination for rspec / rspec-rails / specjour (and/or a hook / workaround / anything) that works with rails 3.2.6?

I also asked this on Stack Overflow:
http://stackoverflow.com/questions/11232978/using-specjour-with-rails-3-2

We're using rails 3.2.6 with rspec-core 2.9.0 and rspec-rails 2.9.0 successfully. Though our codebase doesn't exercise rails caching. I've never tried specjour with rails caching - could be a bug there.

Once we get you on your feet again with the latest specjour, I'd love to hear how the hooks are working for you, and if anything needs to be added.

On Jun 27, 2012, at 8:11 PM, Gerry Cardinal III wrote:

We had specjour (0.4.1) working with our rails app (rails 3.0.12 & rspec 2.5.0 & rspec-rails 2.5.0) by using some hooks to reset fixtures after each test and load the test db after each fork.

We just upgraded to rails 3.2.6 & rspec 2.10.0 & rspec-rails 2.10.1 & specjour 0.5.6. All specs pass when we run rake spec.

When we run specs with specjour, we are having a lot of specs failing. We worked around the known rspec-core issue by patching it to keep the configuration around (rather than resetting it). We worked around a fixture issue (a name changed). A lot of the specs that are still failing seem to be related to code that uses the Rails cache.

Does anyone know of a version combination for rspec / rspec-rails / specjour (and/or a hook / workaround / anything) that works with rails 3.2.6?

I also asked this on Stack Overflow:
http://stackoverflow.com/questions/11232978/using-specjour-with-rails-3-2


Reply to this email directly or view it on GitHub:
#42

Closing. Resolved in 0.6.5