tasks/rspec.rake in wvanbergen-request-log-analyzer-1.2.1 vs tasks/rspec.rake in wvanbergen-request-log-analyzer-1.2.3
- old
+ new
@@ -7,6 +7,13 @@
t.spec_files = FileList['spec/**/*_spec.rb']
t.rcov = true
t.rcov_opts = ['--exclude', '"spec/*,gems/*"', '--rails']
end
-end
\ No newline at end of file
+
+ desc "Run all specs in spec directory (excluding plugin specs)"
+ Spec::Rake::SpecTask.new(:fancy) do |t|
+ t.spec_opts = ['--options', "\"spec/spec.opts\""]
+ t.spec_files = FileList['spec/**/*_spec.rb']
+ end
+end
+