Permalink
Browse files

Change queue name and correct spec for user id specification

  • Loading branch information...
1 parent 7bd6fc5 commit d5c4382170e7cd5657d3cb00ff70e22374c28e79 @ymainier ymainier committed Mar 9, 2010
Showing with 5 additions and 5 deletions.
  1. +1 −1 lib/brm-ruby-logger.rb
  2. +4 −4 spec/brm-ruby-logger_spec.rb
View
@@ -24,7 +24,7 @@ def initialize(application, *args)
bunny_options = args.extract_options!
@connection = Bunny.new bunny_options
@connection.start
- @queue = @connection.queue "/"
+ @queue = @connection.queue "reactor.#{application}"
end
def disconnect()
@@ -14,16 +14,16 @@
describe "BrmLogger" do
before(:each) do
- user_id = "123"
- application = "brm-ruby-logger-tests"
- @logger = BrmLogger::Logger.new(user_id, application,
- # :logging => true,
+ application = "mambanation-dev"
+ @logger = BrmLogger::Logger.new(application,
+ :logging => true,
:host => RABBITMQ_HOST,
:port => RABBITMQ_PORT,
:user => RABBITMQ_USERNAME,
:pass => RABBITMQ_PASSWORD,
:vhost => RABBITMQ_VHOST
)
+ @logger.user_id = "123"
end
after(:each) do

0 comments on commit d5c4382

Please sign in to comment.