Sha256: 71034e749afe88bf5592fb8f246d95ddc14b7c15bb515d1f0d0a0eb6d8f28434
Contents?: true
Size: 585 Bytes
Versions: 9
Compression:
Stored size: 585 Bytes
Contents
require 'spec_helper' describe Caracal::Core::LineBreaks do subject { Caracal::Document.new } #------------------------------------------------------------- # Public Methods #------------------------------------------------------------- describe 'public method tests' do # .br describe '.br' do let!(:size) { subject.contents.size } before { subject.br } it { expect(subject.contents.size).to eq size + 1 } it { expect(subject.contents.last).to be_a(Caracal::Core::Models::LineBreakModel) } end end end
Version data entries
9 entries across 9 versions & 1 rubygems