Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (15 sloc) 342 Bytes
require 'rake'
require 'spec/rake/spectask'
desc "Run specs"
task :spec do
sh('bundle install')
Spec::Rake::SpecTask.new('spec') do |t|
t.spec_opts = %w(-fs -c)
t.spec_files = FileList['spec/**/*_spec.rb']
end
end
desc "Synonym for spec"
task :test => :spec
desc "Synonym for spec"
task :tests => :spec
task :default => :spec