Sha256: 994e4814f18175b1b8f9e168f8d2441afaae16cb5eb1b7a3c3f7c6eb282cd513

Contents?: true

Size: 398 Bytes

Versions: 4

Compression:

Stored size: 398 Bytes

Contents

# frozen_string_literal: true

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

4 entries across 4 versions & 1 rubygems

Version Path
peddler-1.6.7 test/unit/peddler/errors/test_builder.rb
peddler-1.6.6 test/unit/peddler/errors/test_builder.rb
peddler-1.6.5 test/unit/peddler/errors/test_builder.rb
peddler-1.6.4 test/unit/peddler/errors/test_builder.rb