Add the has_many_polymorphs plugin
[cs356-p2-videostore.git] / vendor / plugins / has_many_polymorphs / test / setup.rb
1
2 # Setup integration system for the integration suite
3
4 Dir.chdir "#{File.dirname(__FILE__)}/integration/app/" do
5   Dir.chdir "vendor/plugins" do
6     system("rm has_many_polymorphs; ln -s ../../../../../ has_many_polymorphs")
7   end
8   system("rake db:create")
9   system("rake db:migrate db:fixtures:load")
10 end