GithubHelp home page GithubHelp logo

Comments (12)

sandro avatar sandro commented on July 28, 2024

Interesting. Just bundle updated rspec-rails (2.10.1), and most of my test suite failed, but specjour continued to work - no backtraces, no exceptions. What version of Rails are you running?

from specjour.

josephlord avatar josephlord commented on July 28, 2024

3.2.5 I think. It was rspec-core 2.10.1 that didn't work. rspec-rails 2.10.1 was fine I think.

The bombing out may only have been the use_transactional_fixtures= method. Most of the specs failed with NoMethodError on matchers or other things like that.

from specjour.

sandro avatar sandro commented on July 28, 2024

Right, when I updated rspec-rails, rspec-core was updated as well. The specjour spec suite works fine with the updated rspec-core, which is why I suspected rspec-rails may have caused the issue. The rails project I tested with sets transactional_fixtures to false - no problem. When I get some time, I'll create a fresh rails app, and use that to test specjour.

from specjour.

sandro avatar sandro commented on July 28, 2024

Created a fresh rails app, and I'm starting to see the problems you mentioned. Looking into it.

from specjour.

sandro avatar sandro commented on July 28, 2024

Started a dialog here: rspec/rspec-core#621

from specjour.

Irio avatar Irio commented on July 28, 2024

Same problem here.

rails (3.2.8)
rspec (2.11.0)
rspec-core (2.11.1)
rspec-rails (2.11.0)
# 58 failures
rails (3.2.8)
rspec (2.9.0)
rspec-core (2.9.0)
rspec-rails (2.11.0)
# 42 failures

rspec gets 0 failures.

from specjour.

pierreozoux avatar pierreozoux commented on July 28, 2024

Can you try with this :
gem 'specjour', git: 'https://github.com/sandro/specjour.git'

Sandro made an update 2 days ago, and it fixed the issue for me.

from specjour.

Irio avatar Irio commented on July 28, 2024

@pierreozoux Got better, but don't fixed it for me.

rails (3.2.8)
specjour (0.6.5)
rspec (2.11.0)
rspec-core (2.11.1)
rspec-rails (2.11.0)
# 35 failures

from specjour.

sandro avatar sandro commented on July 28, 2024

Did you run bundle exec specjour?
I just released 0.6.5 which contains the updates @pierreozoux mentioned, so you should try that.

from specjour.

Irio avatar Irio commented on July 28, 2024

@sandro Yes, my last test was already with 0.6.5.

Interesting, just controller specs are failing. Could be useful?

from specjour.

sandro avatar sandro commented on July 28, 2024

Same failures as above? Try upgrading to rspec-core 2.11
Can you post the interesting parts of a failing test, or create a new rails app that exhibits the failures?

from specjour.

josephlord avatar josephlord commented on July 28, 2024

Just so that you know it is working fine for me with specjour 0.7.0 and Rspec-core 2.12.0. I haven't tracked intermediate versions closely. OK to close from my point of view but I have no idea if Irio still has issues.

Thanks!

from specjour.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.