Sha256: 5801b0523488c2d8e3aab1e9d23ea73be3db63657d372b087f6556cf0caffd23

Contents?: true

Size: 307 Bytes

Versions: 11

Compression:

Stored size: 307 Bytes

Contents

rails = ::ActiveRecord::VERSION::STRING.first(3)

if %w(3.2 4.0 4.1).include?(rails) || rails == '3.1' && RUBY_VERSION < '2.2'
  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

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
solidus_backend-1.0.0.pre3 vendor/bundle/gems/ransack-1.6.6/spec/ransack/dependencies_spec.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/ransack-1.6.6/spec/ransack/dependencies_spec.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/ransack-1.6.6/spec/ransack/dependencies_spec.rb
shoppe-paypal-1.1.0 vendor/bundle/ruby/2.1.0/gems/ransack-1.6.2/spec/ransack/dependencies_spec.rb
ransack-1.6.6 spec/ransack/dependencies_spec.rb
ransack-1.6.5 spec/ransack/dependencies_spec.rb
ransack-1.6.4 spec/ransack/dependencies_spec.rb
ransack-1.6.3 spec/ransack/dependencies_spec.rb
ransack-1.6.2 spec/ransack/dependencies_spec.rb
ransack-1.6.1 spec/ransack/dependencies_spec.rb
ransack-1.6.0 spec/ransack/dependencies_spec.rb