summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Rakefile1
-rw-r--r--spec/spec.opts4
2 files changed, 5 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 6d7d74f..2ba261b 100644
--- a/Rakefile
+++ b/Rakefile
@@ -19,6 +19,7 @@ end
require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
spec.libs << 'lib' << 'spec'
+ spec.spec_opts = ['--options', "\"#{File.dirname(__FILE__)}/spec/spec.opts\""]
spec.spec_files = FileList['spec/**/*_spec.rb']
end
diff --git a/spec/spec.opts b/spec/spec.opts
new file mode 100644
index 0000000..7636dbe
--- /dev/null
+++ b/spec/spec.opts
@@ -0,0 +1,4 @@
+--colour
+--format specdoc
+--loadby mtime
+--reverse