[rspec-users] RSpec on Rails 2.0
dchelimsky at gmail.com
Fri Nov 9 10:06:26 EST 2007
On Nov 9, 2007 9:02 AM, Patrick Aljord <patcito at gmail.com> wrote:
> On Nov 9, 2007 3:40 AM, David Chelimsky <dchelimsky at gmail.com> wrote:
> > rails foo
> > cd foo
> > rake rails:freeze:edge
> > ruby script/plugin install svn://rubyforge.org/var/svn/rspec/trunk/rspec
> > ruby script/plugin install
> > svn://rubyforge.org/var/svn/rspec/trunk/rspec_on_rails
> > script/generate rspec
> > rake db:create:all
> > script/generate rspec_scaffold Thing name:string
> > rake db:migrate
> > rake spec
> > All ran perfectly well. I really don't know what's going on on your machine.
> but did you try to run 'rake db:migrate RAILS_ENV=test' in your foo
> app? doesn't work here.
Ah - why are you doing that? rake spec takes care of setting up your test db.
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users