Created
April 29, 2011 03:57
-
-
Save samnang/947808 to your computer and use it in GitHub Desktop.
Register RSpec rake's tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
begin | |
require 'rspec/core/rake_task' | |
RSpec::Core::RakeTask.new | |
rescue LoadError | |
task :spec do | |
abort "Please run `bundle install` to install RSpec." | |
end | |
end | |
task :default => :spec |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment