Skip to content

Commit

Permalink
Remove Active Record from Rakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatack committed Aug 20, 2015
1 parent 0b1fad1 commit 7be66a3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
require 'bundler'
require 'rspec/core/rake_task'
require 'active_record'

Bundler::GemHelper.install_tasks

RSpec::Core::RakeTask.new(:spec) do |rspec|
ENV['SPEC'] = 'spec/ransack/**/*_spec.rb'
if ActiveRecord::VERSION::MAJOR >= 4 || RUBY_VERSION < '2.2'
# Raises `invalid option: --backtrace` with Rails 3.x on Ruby 2.2
rspec.rspec_opts = ['--backtrace']
end
rspec.rspec_opts = ['--backtrace']
end

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

0 comments on commit 7be66a3

Please sign in to comment.