[rspec-users] `rake spec` with rails 3.0.3 and rspec-rails 2.4.1

Michael Guterl mguterl at gmail.com
Thu Jan 13 16:17:06 EST 2011


We're upgrading a rails 2.3.x application to Rails 3.  When running
`rake spec` no specs are running.

$ rake spec --trace
(in /Users/michaelguterl/code/rm/board)
** Invoke spec (first_time, not_needed)

$ gem list | grep rspec
rspec (2.4.0)
rspec-core (2.4.0)
rspec-expectations (2.4.0)
rspec-mocks (2.4.0)
rspec-rails (2.4.1)

$ rails -v
Rails 3.0.3

lib/tasks/rspec.rake is now gone because as I understand it rake tasks
can be loaded through railtie integration in rails 3, which I believe
rspec takes advantage of.

Any pointers would be appreciated.

Best,
Michael Guterl


More information about the rspec-users mailing list