Sha256: c939b3c2aabc5eab19816810bc66f15d9eecff66ca37c6a8afb99a7af3869394

Contents?: true

Size: 470 Bytes

Versions: 14

Compression:

Stored size: 470 Bytes

Contents

require 'test_helper'
 
class OnfireIntegrationTest < Test::Unit::TestCase
  include Apotomo::TestCaseMethods::TestController
  
  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

14 entries across 14 versions & 1 rubygems

Version Path
apotomo-1.1.4 test/unit/onfire_integration_test.rb
apotomo-1.1.3 test/unit/onfire_integration_test.rb
apotomo-1.1.2 test/unit/onfire_integration_test.rb
apotomo-1.1.1 test/unit/onfire_integration_test.rb
apotomo-1.1.0 test/unit/onfire_integration_test.rb
apotomo-1.1.0.rc1 test/unit/onfire_integration_test.rb
apotomo-1.0.5 test/unit/onfire_integration_test.rb
apotomo-1.0.4 test/unit/onfire_integration_test.rb
apotomo-1.0.3 test/unit/onfire_integration_test.rb
apotomo-1.0.2 test/unit/onfire_integration_test.rb
apotomo-1.0.1 test/unit/onfire_integration_test.rb
apotomo-1.0.0 test/unit/onfire_integration_test.rb
apotomo-1.0.0.beta2 test/unit/onfire_integration_test.rb
apotomo-1.0.0.beta1 test/unit/onfire_integration_test.rb