tracks/vendor/plugins/has_many_polymorphs/test/setup.rb
2008-05-20 21:28:26 +01:00

10 lines
307 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:create")
system("rake db:migrate db:fixtures:load")
end