Sha256: 1a4de0b10adf8d7793ffb6fbcb4590079099ee2ede3103d298b0b891970e78f2

Contents?: true

Size: 456 Bytes

Versions: 2

Compression:

Stored size: 456 Bytes

Contents

require File.join(File.dirname(__FILE__), *%w[.. test_helper])
 
class OnfireIntegrationTest < Test::Unit::TestCase
  context "including Onfire into the StatefulWidget it" do
    setup do
      @mum = mouse_mock('mum')
      @mum << @kid = mouse_mock('kid')
    end
    
    should "respond to #root" do
      assert @mum.root?
      assert ! @kid.root?
    end
    
    should "respond to #parent" do
      assert_equal @mum, @kid.parent
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
apotomo-0.1.2 test/unit/onfire_integration_test.rb
apotomo-0.1.1 test/unit/onfire_integration_test.rb