Sha256: f41eae1c6f2a7cb4a7bcb0b441ee771ffa92353e503f230e19c1fb44b4b7d38f
Contents?: true
Size: 686 Bytes
Versions: 3
Compression:
Stored size: 686 Bytes
Contents
require 'test_helper' require 'rubygems' require 'netzke-core' class TabPanelTest < ActiveSupport::TestCase test "active item" do tab_panel = Netzke::TabPanel.new(:items => [{ :widget_class_name => "Panel" },{ :widget_class_name => "Panel", :name => "second_panel", :active => true }]) assert_equal(2, tab_panel.initial_aggregatees.keys.size) assert_equal("item0", tab_panel.aggregatees[:item0][:name]) assert_equal("second_panel", tab_panel.aggregatees[:second_panel][:name]) assert(tab_panel.aggregatees[:second_panel][:active]) assert_equal("Panel", tab_panel.js_config[:second_panel_config][:scoped_class_name]) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
netzke-basepack-0.5.6 | test/unit/tab_panel_test.rb |
netzke-basepack-0.5.5.1 | test/unit/tab_panel_test.rb |
netzke-basepack-0.5.5 | test/unit/tab_panel_test.rb |