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:
parent
2824d7c2ad
commit
0da3bbe9a4
2 changed files with 4 additions and 0 deletions
1
Rakefile
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
|
||||
|
|
3
spec/spec.opts
Normal file
3
spec/spec.opts
Normal file
|
@ -0,0 +1,3 @@
|
|||
--backtrace
|
||||
--diff
|
||||
--color
|
Loading…
Reference in a new issue