rename qwaiter to mozo
This commit is contained in:
@@ -15,16 +15,16 @@ describe Supplier::Counters do
|
||||
end
|
||||
|
||||
# it 'cleans counter values if orders are no longer available', broken: defined?($cb) do
|
||||
# old_connection = Qwaiter::Counter.connection
|
||||
# old_connection = Mozo::Counter.connection
|
||||
# # this spec should run on the couchbase database
|
||||
# Qwaiter::Counter.connection = $cb
|
||||
# Mozo::Counter.connection = $cb
|
||||
# supplier = create :supplier
|
||||
# Qwaiter::Counter.set "supplier_counter:#{supplier.id}:orders_placed", 9
|
||||
# Mozo::Counter.set "supplier_counter:#{supplier.id}:orders_placed", 9
|
||||
# supplier.orders_placed_count.should == 9
|
||||
# Supplier.reset_counters!
|
||||
# sleep 1
|
||||
# supplier.orders_placed_count.should == 0
|
||||
# Qwaiter::Counter.connection = old_connection
|
||||
# Mozo::Counter.connection = old_connection
|
||||
# end
|
||||
#
|
||||
it 'sets the counters to the right values for one supplier' do
|
||||
|
||||
Reference in New Issue
Block a user