Sha256: ea79373b95967cd2da470e6ca2d29f0600a2b5584f2ee4a04e51d34600ee8d25
Contents?: true
Size: 693 Bytes
Versions: 18
Compression:
Stored size: 693 Bytes
Contents
require 'rake/testtask' require 'bundler' require 'bundler/gem_tasks' Bundler::GemHelper.install_tasks Rake::TestTask.new('unit') do |t| t.libs << 'lib' t.libs << 'spec' t.test_files = FileList['spec/unit/**/*_spec.rb'] t.verbose = true end Rake::TestTask.new('integration') do |t| t.libs << 'lib' t.libs << 'spec' t.test_files = FileList['spec/integration/**/*_spec.rb'] t.verbose = true end Rake::TestTask.new('dev') do |t| t.libs << 'lib' t.libs << 'spec' files = FileList.new('spec/test_helper.rb') files.add(ENV["SINGLE_TEST"]) if ENV["SINGLE_TEST"] t.test_files = files t.verbose = true end task :specs => [:unit, :integration] task :default => :specs
Version data entries
18 entries across 18 versions & 2 rubygems