Don_F
June 28, 2010, 1:55am
1
I am trying to use rspec2 rails with rails3 beta 4. I created a simple
project and a couple of models. The basic test spec files are there.
When I run bundle spec:models I get what I expect. When I run bundle
autotest I get:
mauidev:testme dhf$ bundle exec autotest
loading autotest/rails_rspec2
mauidev:testme dhf$
and that is it.
My Gemfile contains:
gem “rspec-rails”, :git => “git://github.com/rspec/rspec-rails.git”
gem “rspec-core”, :git => “git://github.com/rspec/rspec-core.git”
gem “rspec-expectations”, :git => “git://github.com/rspec/rspec-
expectations.git”
gem “rspec-mocks”, :git => “git://github.com/rspec/rspec-mocks.git”
gem “rspec”, :git => “git://github.com/rspec/rspec.git”
gem ‘autotest-rails’
gem ‘autotest’
gem ‘autotest-fsevent’
gem ‘autotest-growl’
Any Ideas?
Don F.
Don_F
June 28, 2010, 2:11am
2
On Jun 27, 2010, at 6:51 PM, Don F. wrote:
gem ‘autotest-fsevent’
gem ‘autotest-growl’
Any Ideas?
Have you run “script/rails g rspec:install”? Otherwise everything looks
right to me.
Don_F
June 28, 2010, 3:16am
3
Sure did. Just ran it again:
identical .rspec
exist spec
identical spec/spec_helper.rb
exist lib
identical lib/tasks/rspec.rake
identical config/initializers/rspec_generator.rb
exist autotest
identical autotest/discover.rb
I am running everything under bundle exec. That is correct, right
Don_F
June 28, 2010, 1:56pm
4
On Sun, Jun 27, 2010 at 8:14 PM, Don F. [email protected] wrote:
mauidev:testme dhf$
gem “rspec”, :git => “git://github.com/rspec/rspec.git”
gem ‘autotest-rails’
gem ‘autotest’
gem ‘autotest-fsevent’
gem ‘autotest-growl’
Any Ideas?
Have you run “script/rails g rspec:install”? Otherwise everything looks right to me.
I am running everything under bundle exec. That is correct, right
What OS, Ruby version, etc?
ps - please post in-line or at the bottom so we can follow the thread
(I moved your top post down).