Skip to content

Commit 7be66a3

Browse files
committed
Remove Active Record from Rakefile
1 parent 0b1fad1 commit 7be66a3

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Rakefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
require 'bundler'
22
require 'rspec/core/rake_task'
3-
require 'active_record'
43

54
Bundler::GemHelper.install_tasks
65

76
RSpec::Core::RakeTask.new(:spec) do |rspec|
87
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
8+
rspec.rspec_opts = ['--backtrace']
139
end
1410

1511
RSpec::Core::RakeTask.new(:mongoid) do |rspec|

0 commit comments

Comments
 (0)