Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (13 sloc) 422 Bytes
require "bundler/gem_tasks"
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
spec.pattern = FileList['spec/**/*_spec.rb']
end
RSpec::Core::RakeTask.new(:rcov) do |spec|
spec.pattern = 'spec/**/*_spec.rb'
spec.ruby_opts = '--debug'
spec.skip_bundler = true
spec.rcov = true
spec.rcov_opts = %w{--exclude generator_internal,jsignal_internal,gems\/,spec\/}
end
task :default => :spec