Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (20 sloc) 0.592 kb
require 'bundler'
require 'rspec/core/rake_task'
desc "Run Rspec unit tests"
RSpec::Core::RakeTask.new(:spec) do |t|
t.pattern = "spec/keen/**/*_spec.rb"
end
desc "Run Rspec integration tests"
RSpec::Core::RakeTask.new(:integration) do |t|
t.pattern = "spec/integration/**/*_spec.rb"
end
desc "Run Rspec synchrony tests"
RSpec::Core::RakeTask.new(:synchrony) do |t|
t.pattern = "spec/synchrony/**/*_spec.rb"
end
desc "Run Rspec pattern"
RSpec::Core::RakeTask.new(:pattern) do |t|
t.pattern = "spec/#{ENV['PATTERN']}/**/*_spec.rb"
end
task :default => :spec
task :test => [:spec]
Jump to Line
Something went wrong with that request. Please try again.