We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b1fad1 commit 7be66a3Copy full SHA for 7be66a3
Rakefile
@@ -1,15 +1,11 @@
1
require 'bundler'
2
require 'rspec/core/rake_task'
3
-require 'active_record'
4
5
Bundler::GemHelper.install_tasks
6
7
RSpec::Core::RakeTask.new(:spec) do |rspec|
8
ENV['SPEC'] = 'spec/ransack/**/*_spec.rb'
9
- if ActiveRecord::VERSION::MAJOR >= 4 || RUBY_VERSION < '2.2'
10
- # Raises `invalid option: --backtrace` with Rails 3.x on Ruby 2.2
11
- rspec.rspec_opts = ['--backtrace']
12
- end
+ rspec.rspec_opts = ['--backtrace']
13
end
14
15
RSpec::Core::RakeTask.new(:mongoid) do |rspec|
0 commit comments