Sha256: 2c69613ee287843180293f6fabcb37c909aabf4034999219657174e24350f66b
Contents?: true
Size: 595 Bytes
Versions: 2
Compression:
Stored size: 595 Bytes
Contents
require "bundler/gem_tasks" require "rspec/core/rake_task" RSpec::Core::RakeTask.new(:spec) task :default => :spec namespace :spec do %w(activerecord-40 activerecord-41).each do |gemfile| desc "Run Tests by #{gemfile}.gemfile" task gemfile do sh "BUNDLE_GEMFILE='gemfiles/#{gemfile}.gemfile' bundle install --path .bundle" sh "BUNDLE_GEMFILE='gemfiles/#{gemfile}.gemfile' bundle exec rake -t spec" end end desc "Run All Tests" task :all do %w(activerecord-40 activerecord-41).each do |gemfile| Rake::Task["spec:#{gemfile}"].invoke end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
activemodel-associations-0.0.2 | Rakefile |
activemodel-associations-0.0.1 | Rakefile |