Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (27 sloc) 778 Bytes
#!/usr/bin/env rake
require 'bundler/setup'
rescue LoadError
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
require 'rake'
require 'rake/testtask'
require 'rbconfig'
task :test => 'test:all'
require 'rspec/core'
require 'rspec/core/rake_task' do |spec|
spec.pattern = FileList['spec/**/*_spec.rb']
end"spec:unit") do |spec|
spec.pattern = 'spec/unit/**/*_spec.rb'
end"spec:integration") do |spec|
spec.pattern = 'spec/integration/**/*_spec.rb'
end do |spec|
spec.pattern = 'spec/**/*_spec.rb'
spec.rcov = true
#require 'i18n-spec/tasks' # needs to be loaded after rspec
task :default => :spec
Something went wrong with that request. Please try again.