Sha256: 036a26e56649bed87c71c0b08330e464417c3a167da2bafdcf269d29a3fbd9c7
Contents?: true
Size: 746 Bytes
Versions: 2
Compression:
Stored size: 746 Bytes
Contents
require "bundler/gem_tasks" task :test do $LOAD_PATH.unshift('lib', 'test') Dir.glob('./test/**/*_test.rb') { |f| require f } end namespace :tests do gemfiles = %w[ sprockets-rails_3_0 sprockets-rails_2_3 sprockets_2_12 sprockets_3_0 rails_4_2 rails_4_1 rails_4_0 with_sass_rails ] gemfiles.each do |gemfile| desc "Run tests against #{gemfile}" task gemfile do sh "BUNDLE_GEMFILE='gemfiles/#{gemfile}.gemfile' bundle install" sh "BUNDLE_GEMFILE='gemfiles/#{gemfile}.gemfile' bundle exec rake test" end end desc "Run tests against all common asset pipeline setups" task :all do gemfiles.each do |gemfile| Rake::Task["tests:#{gemfile}"].invoke end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sassc-rails-1.2.1 | Rakefile |
sassc-rails-1.2.0 | Rakefile |