Sha256: 92ea7c01cd8a673fe3d675d524a1897a0a42ca47962b6b477ac354576241e2b1

Contents?: true

Size: 375 Bytes

Versions: 2

Compression:

Stored size: 375 Bytes

Contents

require 'spec_helper'

describe "DotGrid::Page::GridPlusLines" do
  describe "#post_initialize" do
    let(:subject) { DotGrid::Page::GridPlusLines.new({})}

    before do
      allow(::DotGrid::Pattern::GridPlusLines).to receive(:new)
    end

    it "draws the pattern" do
      expect(subject).to receive(:add_pattern)
      subject.post_initialize({})
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dot_grid-0.0.12 spec/lib/dot_grid/page/grid_plus_lines_spec.rb
dot_grid-0.0.11 spec/lib/dot_grid/page/grid_plus_lines_spec.rb