Sha256: 67556ed6894255193df09d010a850e4368fa0ed22cc59b0386d9f80243d24bc8

Contents?: true

Size: 391 Bytes

Versions: 48

Compression:

Stored size: 391 Bytes

Contents

require 'rails_helper'

describe LHS::Collection do
  let(:data) {
    ['ROLE_USER', 'ROLE_LOCALCH_ACCOUNT']
  }

  let(:collection){
    LHS::Data.new(LHS::Data.new(data))
  }

  context '#respond_to?' do
    # In this case raw collection is an Array implementing first
    it 'forwards calls to raw collection' do
      expect(collection.respond_to?(:first)).to be(true)
    end
  end
end

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
lhs-6.6.1 spec/collection/respond_to_spec.rb
lhs-6.6.0 spec/collection/respond_to_spec.rb
lhs-6.5.0 spec/collection/respond_to_spec.rb
lhs-6.4.0 spec/collection/respond_to_spec.rb
lhs-6.3.1 spec/collection/respond_to_spec.rb
lhs-6.3.0 spec/collection/respond_to_spec.rb
lhs-6.2.0 spec/collection/respond_to_spec.rb
lhs-6.1.0 spec/collection/respond_to_spec.rb
lhs-6.0.0 spec/collection/respond_to_spec.rb
lhs-5.7.1 spec/collection/respond_to_spec.rb
lhs-5.7.0 spec/collection/respond_to_spec.rb
lhs-5.6.6 spec/collection/respond_to_spec.rb
lhs-5.6.5 spec/collection/respond_to_spec.rb
lhs-5.6.4 spec/collection/respond_to_spec.rb
lhs-5.6.3 spec/collection/respond_to_spec.rb
lhs-5.6.2 spec/collection/respond_to_spec.rb
lhs-5.6.1 spec/collection/respond_to_spec.rb
lhs-5.6.0 spec/collection/respond_to_spec.rb
lhs-5.5.0 spec/collection/respond_to_spec.rb
lhs-5.4.2 spec/collection/respond_to_spec.rb