spec/support/mock_view.rb in garterbelt-0.0.9 vs spec/support/mock_view.rb in garterbelt-0.1.0

- old
+ new

@@ -1,12 +1,12 @@ class MockView - attr_accessor :output, :buffer, :level, :escape, :cache_store, :render_style + attr_accessor :output, :_buffer, :_level, :_escape, :cache_store, :render_style def initialize - self.buffer = [] + self._buffer = [] self.output = "" - self.level ||= 2 - self.escape = true + self._level ||= 2 + self._escape = true self.render_style = :pretty self.cache_store = Moneta::Memory.new end def render_buffer \ No newline at end of file