Sha256: f32964f50fa93751cf6cd37afd8a657337073d49ee9358af5980922b3678d548

Contents?: true

Size: 481 Bytes

Versions: 4

Compression:

Stored size: 481 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('mum')
      @mum << mouse_mock(:kid)
      @kid = @mum[: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

4 entries across 4 versions & 1 rubygems

Version Path
apotomo-1.2.3 test/onfire_integration_test.rb
apotomo-1.2.2 test/onfire_integration_test.rb
apotomo-1.2.1 test/onfire_integration_test.rb
apotomo-1.2.0 test/onfire_integration_test.rb