test/unit/template_tests.rb in osheet-1.0.0 vs test/unit/template_tests.rb in osheet-1.1.0
- old
+ new
@@ -10,9 +10,11 @@
before do
@tmpl = Osheet::Template.new('column', :thing) {}
end
subject { @tmpl }
+ should have_reader :element
+
should "define what elements it is valid for" do
assert_equal ['worksheet', 'column', 'row', 'cell'], Osheet::Template::ELEMENTS
end
should "be a Partial" do