Sha256: 287dea07fa6f858b5bda377001cdd6fce88ab3d70d3daca98fb4625f2c924b3b
Contents?: true
Size: 426 Bytes
Versions: 4
Compression:
Stored size: 426 Bytes
Contents
namespace :test do Rake::TestTask.new(:migrations => "db:test:prepare") do |t| t.libs << "test" t.pattern = 'test/migration/**/*_test.rb' t.verbose = true end Rake::Task['test:migrations'].comment = "Run the migration tests in test/migration" task :migration => 'test:migrations' end task :test do Rake::Task['test:migrations'].invoke rescue got_error = true raise "Test failures" if got_error end
Version data entries
4 entries across 4 versions & 2 rubygems