lib/angelo/minitest/helpers.rb in angelo-0.2.4 vs lib/angelo/minitest/helpers.rb in angelo-0.3.0
- old
+ new
@@ -11,10 +11,13 @@
def define_app &block
before do
app = Class.new Angelo::Base
- app.class_eval { content_type :html } # reset
+
+ app.class_eval { content_type :html } # reset
+ Celluloid.logger.level = ::Logger::ERROR # see spec_helper.rb:9
+
app.class_eval &block
@server = Angelo::Server.new app
app.server = @server
$reactor = Reactor.new unless $reactor.alive?
end