tasks/rspec.rake in jarib-celerity-0.0.5 vs tasks/rspec.rake in jarib-celerity-0.0.5.1
- old
+ new
@@ -17,9 +17,10 @@
desc "Run the specs under spec/"
Spec::Rake::SpecTask.new do |t|
t.spec_opts = ['--options', "spec/spec.opts"]
t.spec_files = FileList['spec/**/*_spec.rb']
+ # t.ruby_opts = %w[--headless] if RUBY_PLATFORM =~ /java/
begin
require 'rcov'
t.rcov = true
t.rcov_opts = ['--exclude', 'spec,fcntl,path_helper,yaml', '--no-rcovrt']