test/element/row_test.rb in xmlss-0.4.1 vs test/element/row_test.rb in xmlss-1.0.0.rc.1
- old
+ new
@@ -7,10 +7,15 @@
desc "Xmlss::Row"
before { @row = Row.new }
subject { @row }
should be_styled
+ should have_class_method :writer
should have_accessors :height, :auto_fit_height, :hidden
+
+ should "know its writer hook" do
+ assert_equal :row, subject.class.writer
+ end
should "set it's defaults" do
assert_nil subject.height
assert_equal false, subject.auto_fit_height
assert_equal false, subject.hidden