1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Adding spec.opts

This commit is contained in:
Bryan Helmkamp 2009-10-01 00:13:56 -04:00
parent 2824d7c2ad
commit 0da3bbe9a4
2 changed files with 4 additions and 0 deletions

View file

@ -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

3
spec/spec.opts Normal file
View file

@ -0,0 +1,3 @@
--backtrace
--diff
--color