require “bundler/gem_tasks” require “rspec/core/rake_task”
RSpec::Core::RakeTask.new(:spec) do |task|
task.rspec_opts = ["--require", "simplecov"] if ENV['COVERAGE']
end
task :default => :spec
require “bundler/gem_tasks” require “rspec/core/rake_task”
RSpec::Core::RakeTask.new(:spec) do |task|
task.rspec_opts = ["--require", "simplecov"] if ENV['COVERAGE']
end
task :default => :spec