spec/page_spec.rb in garterbelt-0.0.9 vs spec/page_spec.rb in garterbelt-0.1.0
- old
+ new
@@ -61,10 +61,10 @@
end
end
before do
@view = MockView.new
- @view.level = 0
+ @view._level = 0
@output = BasicPage.new.render
end
it 'makes a default doctype of :transitional' do
@output.should include Garterbelt::Doctype.new(:type => :transitional, :view => @view).render
\ No newline at end of file