Sha256: 4ee957e566fa49e9ec9a6629bbfc38afa97e94da7cf891df1b987c2418f05ebd
Contents?: true
Size: 408 Bytes
Versions: 27
Compression:
Stored size: 408 Bytes
Contents
require 'spec_helper' describe "adapter is set" do it "should call it's enabled! method on init" do QueueBus.send(:reset) adapter_under_test_class.any_instance.should_receive(:enabled!) instance = adapter_under_test_class.new QueueBus.send(:reset) end it "should be defaulting to Data from spec_helper" do QueueBus.adapter.is_a?(adapter_under_test_class).should == true end end
Version data entries
27 entries across 27 versions & 3 rubygems