[rspec-users] Rake generate - not generating spec files

Jason Nah jason.nah at gmail.com
Tue Feb 22 21:35:50 EST 2011


I'm running the following stack:

   - rails 3.0.4
   - rake (0.8.7)
   - rspec 2.5.0
   - rspec-rails 2.5.0

I created the rails app, and I didn't tell rails to exclude the default Test

I installed it using

rails generate rspec:install

When I type
rake g model User

I get this:
      invoke  active_record
      create    db/migrate/20110223022101_create_users.rb
      create    app/models/user.rb
      invoke    test_unit
      create      test/unit/user_test.rb
      create      test/fixtures/users.yml

No specs.

When I type
rake -T

I don't see any spec targets.

When I run rake spec, nothing happens.

Is there something I've missed?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20110223/70e1a941/attachment.html>

More information about the rspec-users mailing list