test/element/cell_test.rb in xmlss-1.0.0.rc.1 vs test/element/cell_test.rb in xmlss-1.0.0.rc.2
- old
+ new
@@ -13,11 +13,10 @@
subject { @c }
should be_styled
should have_class_method :writer
should have_accessor :index, :formula, :href, :merge_across, :merge_down
- should have_reader :h_ref
should have_enum :type, {
:number => "Number",
:date_time => "DateTime",
:boolean => "Boolean",
@@ -38,15 +37,9 @@
assert_nil subject.merge_across
assert_nil subject.merge_down
assert_equal Cell.type(:string), subject.type
assert_equal "", subject.data
- end
-
- should "provide alias for :href" do
- c = Cell.new({:href => "http://www.google.com"})
- assert_equal "http://www.google.com", c.href
- assert_equal "http://www.google.com", c.h_ref
end
should "bark when setting non Fixnum indices" do
assert_raises ArgumentError do
Cell.new({:index => "do it"})