updated load paths and structure of specs a bit

This commit is contained in:
2011-01-27 11:10:37 +00:00
parent 01241a1689
commit 425caf9fb5
4 changed files with 13 additions and 9 deletions

18
spec/server_helper.rb Normal file
View File

@@ -0,0 +1,18 @@
# encoding: utf-8
module ServerHelper
include AMQP::Server
class << self
def log
@log ||= []
end
attr_writer :log
end
def log(*args)
SpecServer.log << args
# silence Output
end
end