Sha256: 582d2cbb1bd8961c877fe2d449baa03b6733fdde887fd2d2b2e58df8af760766
Contents?: true
Size: 355 Bytes
Versions: 8
Compression:
Stored size: 355 Bytes
Contents
require 'spec_helper' describe "DotGrid::Page::DotGrid" do describe "#post_initialize" do let(:subject) { DotGrid::Page::DotGrid.new({})} before do allow(::DotGrid::Pattern::DotGrid).to receive(:new) end it "adds 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