Sha256: 6230846b3c702c44b04058a44699a0f50233c662b9388f9cb6903e20daec17b9

Contents?: true

Size: 330 Bytes

Versions: 2

Compression:

Stored size: 330 Bytes

Contents

require 'helper'

class MonitoredTest < Test::Unit::TestCase
  class TestMe
    include Hallmonitor::Monitored
  end
  context "A class that includes Monitored module" do
    
    setup do
      @test_me = TestMe.new
    end
    
    should "add an emit method to instances" do
      @test_me.respond_to?(:emit)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hallmonitor-0.0.2 test/monitored_test.rb
hallmonitor-0.0.1 test/monitored_test.rb