Rakefile in yard-0.2.3.3 vs Rakefile in yard-0.2.3.4
- old
+ new
@@ -24,9 +24,10 @@
desc "Run all specs"
Spec::Rake::SpecTask.new("specs") do |t|
$DEBUG = true if ENV['DEBUG']
t.spec_opts = ["--format", "specdoc", "--colour"]
+ t.spec_opts += ["--require", File.join(File.dirname(__FILE__), 'spec', 'spec_helper')]
t.spec_files = Dir["spec/**/*_spec.rb"].sort
t.rcov = true if ENV['RCOV']
t.rcov_opts = ['-x', '_spec\.rb$,spec_helper\.rb$']
end
task :spec => :specs