spec/renderers/comment_spec.rb in garterbelt-0.1.0 vs spec/renderers/comment_spec.rb in garterbelt-0.1.1
- old
+ new
@@ -65,11 +65,11 @@
@view.output = ''
end
describe ':minified' do
before do
- @view.render_style = :minified
+ @tag.style = :minified
@min = @tag.render
end
it 'does not end in a line break' do
@min.should_not match /\n$/
@@ -81,10 +81,10 @@
end
end
describe ':text' do
it 'is an empty string' do
- @view.render_style = :text
+ @tag.style = :text
@tag.render.should == ''
end
end
end
end