diff options
-rw-r--r-- | Rakefile | 1 | ||||
-rw-r--r-- | spec/spec.opts | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -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 |