tracks/vendor/plugins/has_many_polymorphs/test/setup.rb
Reinier Balt de9c2c0b77 install lastest had_many_polymorphs
script/plugin install git://github.com/fauna/has_many_polymorphs.git
2008-11-28 08:37:56 +01:00

14 lines
431 B
Ruby

# Setup integration system for the integration suite
Dir.chdir "#{File.dirname(__FILE__)}/integration/app/" do
Dir.chdir "vendor/plugins" do
system("rm has_many_polymorphs; ln -s ../../../../../ has_many_polymorphs")
end
system "rake db:drop --trace RAILS_GEM_VERSION=2.0.2 "
system "rake db:create --trace RAILS_GEM_VERSION=2.0.2 "
system "rake db:migrate --trace"
system "rake db:fixtures:load --trace"
end