Sha256: 998f641c261d9587fcc934e0d7bbf3cfb00bc392aeee8be310183e7604313bb2
Contents?: true
Size: 402 Bytes
Versions: 2
Compression:
Stored size: 402 Bytes
Contents
require 'spec_helper' describe RCelery::Daemon do include RR::Adapters::RRMethods before(:each) do # @channel, @queue = stub_amqp end after :each do RCelery.stop if RCelery.running? end describe '.new' do it 'sets a config attr' do d = RCelery::Daemon.new([]) d.instance_variable_get(:@config).should be_an_instance_of(RCelery::Configuration) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rcelery-1.0.1 | spec/unit/daemon_spec.rb |
rcelery-1.0.0 | spec/unit/daemon_spec.rb |