spec/integration/integration_spec.rb in garterbelt-0.0.8 vs spec/integration/integration_spec.rb in garterbelt-0.0.9
- old
+ new
@@ -72,7 +72,11 @@
end
it 'does text only' do
ViewWithContentTags.new.render(:style => :text).should == file("render_styles/text")
end
+
+ it 'styles do not screw up text line breaks, especially with raw text embeds' do
+ PrettyWithEmbeds.new.render.should == file('render_styles/pretty_with_embeds')
+ end
end
end
\ No newline at end of file