Rakefile in dm-rest-adapter-0.9.5 vs Rakefile in dm-rest-adapter-0.9.6
- old
+ new
@@ -33,11 +33,10 @@
desc 'Run specifications'
Spec::Rake::SpecTask.new(:spec) do |t|
if File.exists?('spec/spec.opts')
t.spec_opts << '--options' << 'spec/spec.opts'
end
- t.spec_files =
- Pathname.glob(Pathname.new(__FILE__).dirname + 'spec/**/*_spec.rb')
+ t.spec_files = Pathname.glob((ROOT + 'spec/**/*_spec.rb').to_s)
end
desc "Run all stories"
task :stories do
# TODO Re-migrate the book service or else you won't have test data!