Sha256: ca54d3e3ba8bc0c089b8fc80843cbb81c93c3d605f20794746a5decba99d3e5a

Contents?: true

Size: 268 Bytes

Versions: 162

Compression:

Stored size: 268 Bytes

Contents

require 'rails_helper'

describe LHS::Record do
  let(:record) do
    LHS::Record.new(LHS::Data.new(['cat', 'dog']))
  end

  context 'select' do
    it 'works with select' do
      expect(
        record.select { |x| x }.join
      ).to eq 'catdog'
    end
  end
end

Version data entries

162 entries across 162 versions & 1 rubygems

Version Path
lhs-14.6.0 spec/record/select_spec.rb
lhs-14.5.0 spec/record/select_spec.rb
lhs-14.4.0 spec/record/select_spec.rb
lhs-14.3.4 spec/record/select_spec.rb
lhs-14.3.3 spec/record/select_spec.rb
lhs-14.3.2 spec/record/select_spec.rb
lhs-14.3.1 spec/record/select_spec.rb
lhs-14.3.0 spec/record/select_spec.rb
lhs-14.2.0 spec/record/select_spec.rb
lhs-14.1.1 spec/record/select_spec.rb
lhs-14.1.0 spec/record/select_spec.rb
lhs-14.0.3 spec/record/select_spec.rb
lhs-14.0.2 spec/record/select_spec.rb
lhs-14.0.1 spec/record/select_spec.rb
lhs-14.0.0 spec/record/select_spec.rb
lhs-13.2.3 spec/record/select_spec.rb
lhs-13.2.2 spec/record/select_spec.rb
lhs-13.2.1 spec/record/select_spec.rb
lhs-13.2.0 spec/record/select_spec.rb
lhs-13.1.0 spec/record/select_spec.rb