Sha256: dc3418662ab92c5db4cd550b4affe71a833d363798bfa8dc3067a2c372b07f21

Contents?: true

Size: 344 Bytes

Versions: 2

Compression:

Stored size: 344 Bytes

Contents

require 'test_helper'
require 'logger'

Dreamcatcher.configuration.to = 'example@example.com'
Dreamcatcher.configuration.deliver = false

class DreamcatcherTest < Test::Unit::TestCase

  def test_monitor_should_reraise_exception
    assert_raises(RuntimeError) do
      Dreamcatcher.monitor do
        raise "error"
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dreamcatcher-0.0.2 test/dreamcatcher_test.rb
dreamcatcher-0.0.1 test/dreamcatcher_test.rb