Sha256: 1648739c4f9406ee5738d1c714bdb849b1c9e00a29f08c9d60e86b1e4cf5208a
Contents?: true
Size: 779 Bytes
Versions: 5
Compression:
Stored size: 779 Bytes
Contents
require 'bundler' Bundler::GemHelper.install_tasks require 'rspec/core' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) do |spec| spec.pattern = FileList['spec/**/*_spec.rb'] end task :default => 'spec:all' namespace :spec do %w(rails_32 rails_40).each do |gemfile| desc "Run Tests against #{gemfile}" task gemfile do sh "BUNDLE_GEMFILE='gemfiles/#{gemfile}.gemfile' bundle --quiet" sh "BUNDLE_GEMFILE='gemfiles/#{gemfile}.gemfile' bundle exec rake -t spec" end end desc 'Run Tests against all ORMs' task :all do %w(rails_32 rails_40).each do |gemfile| sh "BUNDLE_GEMFILE='gemfiles/#{gemfile}.gemfile' bundle --quiet" sh "BUNDLE_GEMFILE='gemfiles/#{gemfile}.gemfile' bundle exec rake spec" end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
action_args-1.0.4 | Rakefile |
action_args-1.0.3 | Rakefile |
action_args-1.0.2 | Rakefile |
action_args-1.0.1 | Rakefile |
action_args-1.0.0 | Rakefile |