Sha256: 0a803f24d06966c88f60d4f8d2d74765db60542f4a5c0adb4d3138ff6c989e65
Contents?: true
Size: 409 Bytes
Versions: 76
Compression:
Stored size: 409 Bytes
Contents
require 'rails_helper' describe LHS::Collection do let(:data) do ['ROLE_USER', 'ROLE_LOCALCH_ACCOUNT'] end let(:collection) do LHS::Collection.new(LHS::Data.new(data)) end context 'delegates methods to raw' do %w(present? blank? empty?).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
76 entries across 76 versions & 1 rubygems