lib/deimos/test_helpers.rb in deimos-ruby-1.8.1.pre.beta7 vs lib/deimos/test_helpers.rb in deimos-ruby-1.8.1.pre.beta8
- old
+ new
@@ -32,10 +32,10 @@
d_config.schema.backend = Deimos.schema_backend_class.mock_backend
end
end
end
- before(:each) do
+ prepend_before(:each) do
client = double('client').as_null_object
allow(client).to receive(:time) do |*_args, &block|
block.call
end
Deimos.configure { |c| c.producers.backend = :test }