Sha256: 7b5823dec16d5a7d58fbaf3f6bb9604da708f001d2b1b70ed08248b03936bb6b

Contents?: true

Size: 367 Bytes

Versions: 7

Compression:

Stored size: 367 Bytes

Contents

require 'helper'
require 'peddler/errors/builder'

class TestPeddlerErrorsBuilder < MiniTest::Test
  def test_builds_error_class
    Peddler::Errors::Builder.build('Foo')
    assert Peddler::Errors::Foo
  end

  def test_thread_safety
    Peddler::Errors::Builder.build('Foo')
    assert_output '', '' do
      Peddler::Errors::Builder.build('Foo')
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
peddler-1.6.3 test/unit/peddler/errors/test_builder.rb
peddler-1.6.2 test/unit/peddler/errors/test_builder.rb
peddler-1.6.1 test/unit/peddler/errors/test_builder.rb
peddler-1.6.0 test/unit/peddler/errors/test_builder.rb
peddler-1.5.0 test/unit/peddler/errors/test_builder.rb
peddler-1.4.1 test/unit/peddler/errors/test_builder.rb
peddler-1.4.0 test/unit/peddler/errors/test_builder.rb