Skip to content

Commit

Permalink
[+] RSpec task
Browse files Browse the repository at this point in the history
  • Loading branch information
nordringrayhide committed May 14, 2011
1 parent ea491ae commit 0d688d3
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
require 'bundler'
Bundler::GemHelper.install_tasks
require 'rake/testtask'
require "rspec/core/rake_task"
require 'rake/rdoctask'

desc 'Default: run tests'
task :default => :test
task :default => :spec

desc 'Run tests for Footnotes.'
Rake::TestTask.new(:test) do |t|
t.libs << 'test'
t.pattern = 'test/**/*_test.rb'
t.verbose = true
RSpec::Core::RakeTask.new(:spec) do |t|
t.pattern = 'spec/**/*_spec.rb'
t.rcov = false
end

desc 'Generate documentation for Footnotes.'
Expand Down

0 comments on commit 0d688d3

Please sign in to comment.