Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (19 sloc) 0.514 kB
require 'rspec/core/rake_task'
task :default => :help
desc "Run specs"
task :spec do
RSpec::Core::RakeTask.new(:spec) do |t|
t.pattern = './spec/**/*_spec.rb'
end
end
desc "Run IRB console with app environment"
task :console do
puts "Loading development console..."
system("irb -r ./config/boot.rb")
end
desc "Show help menu"
task :help do
puts "Available rake tasks: "
puts "rake console - Run a IRB console with all enviroment loaded"
puts "rake spec - Run specs and calculate coverage"
end
Jump to Line
Something went wrong with that request. Please try again.