spec/integration/view_spec.rb in garterbelt-0.0.4 vs spec/integration/view_spec.rb in garterbelt-0.0.5
- old
+ new
@@ -51,7 +51,11 @@
end
it 'nests deeply' do
MyPagelet.new(:user => @user).render.should == file('view_partial_nest')
end
+
+ it 'works with passed blocks' do
+ ViewWithForms.new.render.should == file('view_with_forms')
+ end
end
end
\ No newline at end of file