Sha256: bf23e78a06a58db07fecf6b6a7e0decb1a0eeb7ec8c7bf12a796e75494886f58
Contents?: true
Size: 305 Bytes
Versions: 12
Compression:
Stored size: 305 Bytes
Contents
require 'rails_helper' describe LHS::Data do let(:raw) do { labels: { de: ['cat', 'dog'] } } end let(:data) do LHS::Data.new(raw) end context 'select' do it 'works with select' do expect( data.labels.de.select { |x| x }.join ).to eq 'catdog' end end end
Version data entries
12 entries across 12 versions & 1 rubygems