spec/view_spec.rb in nyara-0.0.1.pre vs spec/view_spec.rb in nyara-0.0.1.pre.1
- old
+ new
@@ -18,9 +18,13 @@
before :all do
Config['views'] = __dir__ + '/views'
View.init
end
+ before :each do
+ GC.stress = false
+ end
+
def render *xs
@instance = RenderableMock.new
view = View.new @instance, *xs
Fiber.new{ view.render }.resume
end