Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (17 sloc) 0.488 kB
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
namespace :spec do
RSpec::Core::RakeTask.new(:unit) do |spec|
spec.pattern = 'spec/unit/*_spec.rb'
spec.rspec_opts = ['--backtrace']
end
RSpec::Core::RakeTask.new(:integration) do |spec|
spec.pattern = 'spec/integration/*_spec.rb'
spec.rspec_opts = ['--backtrace']
end
task :all do
Rake::Task['spec:unit'].execute
Rake::Task['spec:integration'].execute
end
end
task :default => 'spec:all'
Jump to Line
Something went wrong with that request. Please try again.