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-11.0.1 spec/record/select_spec.rb
lhs-11.0.0 spec/record/select_spec.rb
lhs-10.1.1 spec/record/select_spec.rb
lhs-10.1.0 spec/record/select_spec.rb
lhs-10.0.0 spec/record/select_spec.rb
lhs-9.1.1 spec/record/select_spec.rb
lhs-9.1.0 spec/record/select_spec.rb
lhs-9.0.4 spec/record/select_spec.rb
lhs-9.0.3 spec/record/select_spec.rb
lhs-9.0.2 spec/record/select_spec.rb
lhs-9.0.1 spec/record/select_spec.rb
lhs-9.0.0 spec/record/select_spec.rb
lhs-8.0.0 spec/record/select_spec.rb
lhs-7.4.1 spec/record/select_spec.rb
lhs-7.4.0 spec/record/select_spec.rb
lhs-7.3.0 spec/record/select_spec.rb
lhs-7.2.5 spec/record/select_spec.rb
lhs-7.2.4 spec/record/select_spec.rb
lhs-7.2.3 spec/record/select_spec.rb
lhs-7.2.2 spec/record/select_spec.rb