lib/sniff/rake_tasks.rb in sniff-0.8.0 vs lib/sniff/rake_tasks.rb in sniff-0.8.1
- old
+ new
@@ -139,10 +139,12 @@
t.rspec_opts = '-Ispec'
end
end
end
- test_tasks = []
+ directory 'log/'
+
+ test_tasks = ['log/']
test_tasks << :examples if rspec
test_tasks << :features if cucumber
unless test_tasks.empty?
task :test => test_tasks
task :default => :test