Sha256: 42e0ee1f208ee400331f507b2a618e8d1f57ef94216e6f17122d8e913c1b3263
Contents?: true
Size: 420 Bytes
Versions: 10
Compression:
Stored size: 420 Bytes
Contents
require 'spec_helper' describe "adapter is set" do it "should call it's enabled! method on init" do QueueBus.send(:reset) expect_any_instance_of(adapter_under_test_class).to receive(:enabled!) instance = adapter_under_test_class.new QueueBus.send(:reset) end it "should be defaulting to Data from spec_helper" do expect(QueueBus.adapter.is_a?(adapter_under_test_class)).to eq(true) end end
Version data entries
10 entries across 10 versions & 2 rubygems