spec/support/mock_view.rb in garterbelt-0.0.7 vs spec/support/mock_view.rb in garterbelt-0.0.8
- old
+ new
@@ -1,12 +1,13 @@
class MockView
- attr_accessor :output, :buffer, :level, :escape, :cache_store
+ attr_accessor :output, :buffer, :level, :escape, :cache_store, :render_style
def initialize
self.buffer = []
self.output = ""
self.level ||= 2
self.escape = true
+ self.render_style = :pretty
self.cache_store = Moneta::Memory.new
end
def render_buffer
end
\ No newline at end of file