Skip to content
Browse files

Added spec task.

  • Loading branch information...
1 parent ec67ee8 commit 245ea4b9c0b9bb0352c08864c6dd4e8617b96e1d @omghax omghax committed May 26, 2011
Showing with 9 additions and 0 deletions.
  1. +1 −0 Rakefile
  2. +8 −0 tasks/rspec.rake
View
1 Rakefile
@@ -1,2 +1,3 @@
require 'bundler'
Bundler::GemHelper.install_tasks
+Dir['tasks/*.rake'].each { |file| load(file) }
View
8 tasks/rspec.rake
@@ -0,0 +1,8 @@
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:spec) do |t|
+ t.pattern = 'spec/**/*_spec.rb'
+ t.rspec_opts = ['--backtrace']
+end
+
+task :default => :spec

0 comments on commit 245ea4b

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