Sha256: 826bdb952a5458d2ee1f950e2fe0379c4e393331c6ef829029e00cdb97bee8c0

Contents?: true

Size: 356 Bytes

Versions: 1

Compression:

Stored size: 356 Bytes

Contents

require 'spec_helper'

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

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dot_grid-0.0.12 spec/lib/dot_grid/page/dot_dash_spec.rb