Sha256: e189d7dfc11d6966fdba17cf54942ac0afa1f4b2cabcf72e7d12d023d5ae61bb

Contents?: true

Size: 630 Bytes

Versions: 3

Compression:

Stored size: 630 Bytes

Contents

require 'bundler/setup'
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'cucumber/rake/task'
require 'appraisal'

RSpec::Core::RakeTask.new do |t|
  t.pattern = "spec/**/*_spec.rb"
  t.rspec_opts = '--color --format progress'
  t.verbose = false
end

Cucumber::Rake::Task.new do |t|
  t.fork = false
  t.cucumber_opts = ['--format', (ENV['CUCUMBER_FORMAT'] || 'progress')]
end

desc 'Test the plugin under all supported Rails versions.'
task :all => ["appraisal:cleanup", "appraisal:install"] do
  exec('rake appraisal spec cucumber')
end

desc 'Default: run specs and cucumber features'
task :default => [:all]

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
view_models-4.0.1 Rakefile
view_models-3.0.1 Rakefile
view_models-3.0.0 Rakefile