Sha256: b1f28ed0095a347ace9fd00e242e4957d429823c20badfa7d28e60caaa27b801
Contents?: true
Size: 646 Bytes
Versions: 11
Compression:
Stored size: 646 Bytes
Contents
require 'spec_helper' module CSL describe Style::Names do end describe Style::Name do it { is_expected.to be_delimiter_contextually_precedes_last } [:never, :always, :contextually].each do |setting| setter = "delimiter_#{setting}_precedes_last!" predicate = "delimiter_#{setting}_precedes_last?" describe "##{setter}" do it 'sets the delimiter precedes last option accordingly' do expect(subject.send(setter).send(predicate)).to eq(true) end end end end describe Style::NamePart do end describe Style::EtAl do end describe Style::Substitute do end end
Version data entries
11 entries across 11 versions & 1 rubygems