Sha256: 0419492ef6f2d834047e968e8bea6e7e0753c73458456b200d693fdfeb2e9788
Contents?: true
Size: 487 Bytes
Versions: 48
Compression:
Stored size: 487 Bytes
Contents
require "#{File.dirname(__FILE__)}/../../test_helper" class PoolPartyErrorTest < Test::Unit::TestCase include PoolParty context "Error" do should "be able to create a PoolPartyError" do assert_nothing_raised do PoolPartyError.create "TestError", "New error" end end should "raise when called with the test error" do assert_raise TestError do raise PoolPartyError.create("TestError", "New error") end end end end
Version data entries
48 entries across 48 versions & 3 rubygems