Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding spec.opts

  • Loading branch information...
commit 0da3bbe9a48d0fe2cd2c4cb2dd1590725ee6ad8c 1 parent 2824d7c
@brynary brynary authored
Showing with 4 additions and 0 deletions.
  1. +1 −0  Rakefile
  2. +3 −0  spec/spec.opts
View
1  Rakefile
@@ -54,6 +54,7 @@ else
for adapter in %w[mysql sqlite3 postgresql]
desc "Run specs with the #{adapter} database adapter"
Spec::Rake::SpecTask.new(adapter) do |t|
+ t.spec_opts = ['--options', "\"#{File.dirname(__FILE__)}/spec/spec.opts\""]
t.libs << "#{File.dirname(__FILE__)}/vendor/rails/activerecord/lib"
t.libs << "#{File.dirname(__FILE__)}/spec"
t.warning = true
View
3  spec/spec.opts
@@ -0,0 +1,3 @@
+--backtrace
+--diff
+--color
Please sign in to comment.
Something went wrong with that request. Please try again.