test/element/column_test.rb in xmlss-0.4.1 vs test/element/column_test.rb in xmlss-1.0.0.rc.1

- old
+ new

@@ -7,10 +7,15 @@ desc "Xmlss::Column" before { @c = Column.new } subject { @c } should be_styled + should have_class_method :writer should have_accessor :width, :auto_fit_width, :hidden + + should "know its writer hook" do + assert_equal :column, subject.class.writer + end should "set it's defaults" do assert_equal nil, subject.width assert_equal false, subject.auto_fit_width assert_equal false, subject.hidden