On Jan 17, 2009, at 2:14 PM, Mark Wilden wrote:

On Sat, Jan 17, 2009 at 5:42 AM, Jonathan Linowes <jonat...@parkerhill.com> wrote:

On Jan 16, 2009, at 4:15 PM, Fernando Perez wrote:

I run rspec on my dev machine, but obviously not on my production
machine, what would be the nicest way to handle such scenario? At the

Actually, I run specs on my production machine,
 cap deploy:spec
:)
since its a different platform from my development,
especially on point releases of the app

Umm, how do you handle that whole rake db:test:prepare thing?

///ark
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

I copy the schema from production, the server doesnt have a development database.
also, my opts default to --format html so i can browse to the results
From my Capfile

  task :spec, :roles => :app do
run "cd #{current_path} && rake db:test:prepare RAILS_ENV=production" # copy schema from production rather than development run "cd #{current_path} && rake spec RAILS_ENV=production >public/private/specs.html"
  end

_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to