Sha256: bbe0b411017e42cef0c3e3b0597f2d3bc849fc569171a996baededeefb27582b
Contents?: true
Size: 377 Bytes
Versions: 8
Compression:
Stored size: 377 Bytes
Contents
require 'spec_helper' describe "DotGrid::Page::HorizontalRule" do describe "#post_initialize" do let(:subject) { DotGrid::Page::HorizontalRule.new({})} before do allow(::DotGrid::Pattern::HorizontalRule).to receive(:new) end it "draws the pattern" do expect(subject).to receive(:add_pattern) subject.post_initialize({}) end end end
Version data entries
8 entries across 8 versions & 1 rubygems