Sha256: e37594d40ea92e3dbf47cfd91f3909105d6a4ddf774570549c3b502b0c616977
Contents?: true
Size: 429 Bytes
Versions: 83
Compression:
Stored size: 429 Bytes
Contents
require 'spec_helper' class MockComponentClass < ActiveAdmin::Component; end describe ActiveAdmin::Component do let(:component_class){ MockComponentClass } let(:component){ component_class.new } it "should be a subclass of an html div" do ActiveAdmin::Component.ancestors.should include(Arbre::HTML::Div) end it "should render to a div, even as a subclass" do component.tag_name.should == 'div' end end
Version data entries
83 entries across 83 versions & 7 rubygems