spec/view_spec.rb in nyara-0.0.1.pre.9 vs spec/view_spec.rb in nyara-0.1.pre.0

- old
+ new

@@ -1,10 +1,8 @@ require_relative "spec_helper" class RenderableMock - include Nyara::Renderable - def initialize @result = '' end attr_reader :result @@ -12,10 +10,10 @@ @result << data end end module Nyara - describe [View, Renderable] do + describe View do before :all do Config['views'] = __dir__ + '/views' View.init end