Sha256: 4bbd99582f89639c6ac13e57da420794672a2c4079c659c32990a0f9b9858b64
Contents?: true
Size: 389 Bytes
Versions: 16
Compression:
Stored size: 389 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' describe DocTemplate::Objects::BaseMetadata do describe '.split_field' do let(:content) { parts.join separator } let(:parts) { %w(a b c d e) } let(:separator) { '-' } subject { described_class.split_field content, separator } it 'returns splitted string' do expect(subject).to eq parts end end end
Version data entries
16 entries across 16 versions & 1 rubygems