Sha256: 1f644707365ed10ead43684aafa0f47121f6c68bb6c1c2a0ba9763e5166d10ac

Contents?: true

Size: 303 Bytes

Versions: 3

Compression:

Stored size: 303 Bytes

Contents

module SpackleErrorFixture
  def spackle_error_fixture
    Spackle::Error.new "CATASTROPHE: the milk was spilled! Begin crying? [Y/n]" do |e|
      e.add_error "/clutzy/child/waving/arms", 1
      e.add_error "/cupboard/shelf/glass", 350
      e.add_error "/fridge/shelf/jug/milk", 4
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spackle-0.0.3 spec/spackle_error_fixture.rb
spackle-0.0.2 spec/spackle_error_fixture.rb
spackle-0.0.1 spec/spackle_error_fixture.rb