mirror of
https://github.com/activerecord-hackery/ransack.git
synced 2022-11-09 13:47:45 -05:00
Rakefile: comment out backtrace option for Rails 3 on travis-ci
This commit is contained in:
parent
22da126e91
commit
41809aab37
1 changed files with 4 additions and 1 deletions
5
Rakefile
5
Rakefile
|
@ -5,7 +5,10 @@ Bundler::GemHelper.install_tasks
|
|||
|
||||
RSpec::Core::RakeTask.new(:spec) do |rspec|
|
||||
ENV['SPEC'] = 'spec/ransack/**/*_spec.rb'
|
||||
rspec.rspec_opts = ['--backtrace']
|
||||
# With Rails 3, using `--backtrace` raises 'invalid option' when testing.
|
||||
# With Rails 4 and 5 it can be uncommented to see the backtrace:
|
||||
#
|
||||
# rspec.rspec_opts = ['--backtrace']
|
||||
end
|
||||
|
||||
RSpec::Core::RakeTask.new(:mongoid) do |rspec|
|
||||
|
|
Loading…
Reference in a new issue