Sha256: 833614e8632d6a77e80b741649e22f4fa955e0edf1b85e3485e2f01c58b0c661
Contents?: true
Size: 479 Bytes
Versions: 2
Compression:
Stored size: 479 Bytes
Contents
require 'active_record' require 'bundler/gem_tasks' require 'rake/testtask' require 'recurso' Rake::TestTask.new(:test) do |t| ActiveRecord::Base.establish_connection("sqlite3:test/support/db.sqlite3") File.read('test/support/schema.sql').split(';').select { |sql| sql.strip.length > 0 }.each do |sql| ActiveRecord::Base.connection.execute("#{sql};") end t.libs << "test" t.libs << "lib" t.test_files = FileList["test/**/*_test.rb"] end task :default => :test
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
recurso-0.6.1 | Rakefile |
recurso-0.5.3 | Rakefile |