Skip to content

Commit

Permalink
add test tasks to rake file
Browse files Browse the repository at this point in the history
  • Loading branch information
rheaton committed Apr 12, 2012
1 parent eae08d5 commit 8250e6f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
require "bundler/gem_tasks"
require 'rspec/core/rake_task'

desc 'Default: run specs.'
task :default => :spec

desc "Run specs"
RSpec::Core::RakeTask.new do |t|
t.pattern = "./spec/**/*_spec.rb" # don't need this, it's default.
# Put spec opts in a file named .rspec in root
end

0 comments on commit 8250e6f

Please sign in to comment.