Sha256: d00f81bb788a01c9511dd1da8710abfd5869e2327d1420ea6a26ab45c8afa8e0
Contents?: true
Size: 469 Bytes
Versions: 12
Compression:
Stored size: 469 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' describe DHS::Collection do let(:data) do %w[ROLE_USER ROLE_LOCALCH_ACCOUNT] end let(:collection) do DHS::Collection.new(DHS::Data.new(data)) end context 'delegates methods to raw' do %w(length size last sample present? blank? empty? compact).each do |method| it "delegates #{method} to raw" do expect(collection.send(method.to_sym)).not_to be_nil end end end end
Version data entries
12 entries across 12 versions & 1 rubygems