Rakefile in optionsful-0.1.1 vs Rakefile in optionsful-0.1.2
- old
+ new
@@ -1,10 +1,10 @@
require 'metric_fu'
require 'rubygems'
require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |t|
- t.spec_files = Dir.glob('spec/**/*_spec.rb')
+ t.spec_files = Dir.glob( File.dirname(__FILE__) + '/spec/**/*_spec.rb')
t.spec_opts << '--format specdoc'
t.rcov = true
end
task :default => :spec