spec/integration/integration_spec.rb in garterbelt-0.1.0 vs spec/integration/integration_spec.rb in garterbelt-0.1.1
- old
+ new
@@ -14,9 +14,13 @@
http://foo.com
It will blow your mind!"
UnescapingView.new(:format_text => format_text).render.should == file('unescaping_view')
end
+ it 'deals with textarea correctly' do
+ FormWithTextarea.new.render.should == file('form_with_textarea')
+ end
+
describe 'variables' do
it 'calls methods on passed objects' do
user = Hashie::Mash.new(:email => 'foo@example.com')
ViewWithVars.new(:user => user).render.should == file('variables/view_with_user_email')
end
\ No newline at end of file