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 French
On Jun 27, 2010, at 6:51 PM, Don French wrote:> 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?Have you run "script/rails g rspec:install"? Otherwise everything looks right to me.
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
On Jun 27, 2:09?pm, David Chelimsky <dchelim... at gmail.com>
wrote:> On Jun 27, 2010, at 6:51 PM, Don French wrote:
>
>
>
> > 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?
>
> Have you run "script/rails g rspec:install"? Otherwise everything
looks right to me.
> _______________________________________________
> rspec-users mailing list
> rspec-us... at
rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users
On Sun, Jun 27, 2010 at 8:14 PM, Don French <dhf0820 at gmail.com> wrote:> On Jun 27, 2:09?pm, David Chelimsky <dchelim... at gmail.com> wrote: >> On Jun 27, 2010, at 6:51 PM, Don French wrote: >> >> > 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? >> >> Have you run "script/rails g rspec:install"? Otherwise everything looks right to me.> 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, rightWhat 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).