[rspec-devel] Help make rspec-1.2 a smooth upgrade

mhennemeyer mhennemeyer at gmail.com
Tue Mar 10 06:38:59 EDT 2009


i have the rspec-rails suite running on my system.
I'm running the examples with:

$ ruby spec/rails_suite.rb

from rspec-dev/example_rails_app/vendor/plugins/rspec-rails.

here is the output: http://pastie.org/412600

The no-output issue occurs when i try to run 
the examples with 'rake spec'.

I'm still investigating, but i actually know that 
(when running the rspec-rails examples with 'rake spec')
the TestCase class' inherited callback is never executed 
and so there are no example_groups when it comes to run the examples.

Inside the Spec::Runner::Options#run_examples method there is 
a conditional that would only let the examples  run when
returns false, but it returns true.

Maybe there is a lib loaded after rspec that overrides the
TestCases inherited callback?


System info:
$ ruby -v
#=> ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-darwin9]
$ uname -a
#=> Darwin mac 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST
2008; root:xnu-1228.9.59~1/RELEASE_I386 i386

View this message in context: http://www.nabble.com/Help-make-rspec-1.2-a-smooth-upgrade-tp22370822p22431644.html
Sent from the rspec-devel mailing list archive at Nabble.com.

More information about the rspec-devel mailing list