Forum: RSpec rake spec - no output

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Ray K. (Guest)
on 2009-04-30 11:19
rake spec does not seem to be doing anything. Could it be a problem with
ruby 1.9? Here is what I did:

rails rspec-test
cd rspec-test
test.rb: config.gem "rspec", :lib => false, :version => ">= 1.2.0"
test.rb: config.gem "rspec-rails", :lib => false, :version => ">= 1.2.0"
ruby script/generate rspec
ruby script/generate rspec_scaffold Movie title:string number:integer
rake db:create:all
rake db:migrate
remove --colour in spec.opts
rake spec

This should return a bunch of passed tests, but doesn't.

Ubuntu 9.04
Rails 2.3.2
ruby 1.9.1p0
rspec 1.2.4 as gem
rspec-rails 1.2 4 as gem

rake spec --trace
(in /home/tick/work/rspec-test)
** Invoke spec (first_time)
** Invoke db:test:prepare (first_time)
** Invoke db:abort_if_pending_migrations (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:abort_if_pending_migrations
** Execute db:test:prepare
** Invoke db:test:load (first_time)
** Invoke db:test:purge (first_time)
** Invoke environment
** Execute db:test:purge
** Execute db:test:load
** Invoke db:schema:load (first_time)
** Invoke environment
** Execute db:schema:load
** Execute spec
Ray K. (Guest)
on 2009-04-30 11:52
Uninstalled test-unit 2.0.2 and installed test-unit-1.2.3.
This topic is locked and can not be replied to.