Sha256: 12579f75ecd88380bfed253f373490504d1c12ab1fab2469a08a167759cbac8e

Contents?: true

Size: 466 Bytes

Versions: 1

Compression:

Stored size: 466 Bytes

Contents

# Run tests against all Rails versions

VENDOR_DIR = File.expand_path("~/Desktop/projects/vendor/rails")

HERE = File.expand_path(File.dirname(__FILE__))

Dir["#{VENDOR_DIR}/*"].each do |dir|
  puts "\n\n**** #{dir} ****\n\n"
  Dir.chdir "#{HERE}/integration/app/vendor" do  
    system("rm rails; ln -s #{dir} rails")    
  end
  system("ruby #{HERE}/unit/polymorph_test.rb")
end

system("rm #{HERE}/integration/app/vendor; svn up #{HERE}/integration/app/vendor")

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
has_many_polymorphs-2.11 test/test_all.rb