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