Skip to content

Commit

Permalink
Add spec task to Rakefile to run specs
Browse files Browse the repository at this point in the history
  • Loading branch information
jfairbank committed Jan 13, 2015
1 parent 34e338e commit 85863dc
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
require "bundler/gem_tasks"
require 'bundler/gem_tasks'

begin
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
task default: :spec
rescue LoadError
# Rspec not available
end

0 comments on commit 85863dc

Please sign in to comment.