activerecord-hackery--ransack/spec/mongoid/dependencies_spec.rb

9 lines
227 B
Ruby

unless ::ActiveSupport::VERSION::STRING >= '4'
describe 'Ransack' do
it 'can be required without errors' do
output = `bundle exec ruby -e "require 'ransack'" 2>&1`
expect(output).to be_empty
end
end
end