tracks/vendor/gems/has_many_polymorphs-2.13/test/setup.rb
Reinier Balt e84e899bef fix #1097 by unpacking gems into vendor
except RedCloth which needs native extentions
2011-02-25 15:31:05 +01:00

14 lines
433 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.2.2 "
system "rake db:create --trace RAILS_GEM_VERSION=2.2.2 "
system "rake db:migrate --trace"
system "rake db:fixtures:load --trace"
end