Rakefile in keen-0.4.2 vs Rakefile in keen-0.4.3
- old
+ new
@@ -9,7 +9,17 @@
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]