aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Helmkamp <bryan@brynary.com>2009-10-01 00:13:56 -0400
committerBryan Helmkamp <bryan@brynary.com>2009-10-01 00:13:56 -0400
commit0da3bbe9a48d0fe2cd2c4cb2dd1590725ee6ad8c (patch)
tree51489a3a0ab6242e53941136f69d02c50a8abee6
parent2824d7c2ad958679ec018cf15c06cc8008d7f193 (diff)
downloadrails-0da3bbe9a48d0fe2cd2c4cb2dd1590725ee6ad8c.tar.gz
rails-0da3bbe9a48d0fe2cd2c4cb2dd1590725ee6ad8c.tar.bz2
rails-0da3bbe9a48d0fe2cd2c4cb2dd1590725ee6ad8c.zip
Adding spec.opts
-rw-r--r--Rakefile1
-rw-r--r--spec/spec.opts3
2 files changed, 4 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 91170a65f9..0564da23ca 100644
--- a/Rakefile
+++ b/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
diff --git a/spec/spec.opts b/spec/spec.opts
new file mode 100644
index 0000000000..ef88ff877b
--- /dev/null
+++ b/spec/spec.opts
@@ -0,0 +1,3 @@
+--backtrace
+--diff
+--color \ No newline at end of file