Sha256: 5ee458815df295d758e8e694b9508ad4c8aa3f0632ae09a56188412797ec2515

Contents?: true

Size: 416 Bytes

Versions: 2

Compression:

Stored size: 416 Bytes

Contents

require '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.4 test/unit/onfire_integration_test.rb
apotomo-0.1.3 test/unit/onfire_integration_test.rb