rename qwaiter to mozo

This commit is contained in:
2025-09-20 17:35:58 -05:00
parent 7212d9041e
commit 0e051b1f93
99 changed files with 189 additions and 168 deletions
+4 -4
View File
@@ -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