first steps of integration tests are in place

This commit is contained in:
2011-01-26 17:36:09 +00:00
parent b3fc9826b0
commit 350c7ffdba
4 changed files with 52 additions and 1 deletions

18
spec/spec_server.rb Normal file
View File

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