Skip to content
Browse files

Adds Rakefile for rspec tasks.

  • Loading branch information...
1 parent c4be85e commit 8bec72dc44f15056392a0e71af3a1d6abb6e6e06 @jyurek jyurek committed
Showing with 15 additions and 0 deletions.
  1. +15 −0 Rakefile
View
15 Rakefile
@@ -0,0 +1,15 @@
+require 'rubygems'
+require 'bundler/setup'
+require 'rake'
+require 'rspec/core/rake_task'
+
+desc 'Default: Run specs.'
+task :default => 'spec:unit'
+
+namespace :spec do
+ desc "Run unit specs"
+ RSpec::Core::RakeTask.new('unit') do |t|
+ t.pattern = 'spec/cocaine/**/*_spec.rb'
+ end
+end
+

0 comments on commit 8bec72d

Please sign in to comment.
Something went wrong with that request. Please try again.