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

15 lines (11 sloc) 0.461 kB
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
require File.expand_path('../config/application', __FILE__)
require 'rake'
desc "Run tests with coverage"
task :coverage do
ENV['COVERAGE'] = "true"
Rake::Task["spec"].execute
Launchy.open("file://" + File.expand_path("../coverage/index.html", __FILE__))
end
Railscasts::Application.load_tasks
Jump to Line
Something went wrong with that request. Please try again.