spec/sneakers/sneakers_spec.rb in sneakers-0.1.0.pre vs spec/sneakers/sneakers_spec.rb in sneakers-0.1.1.pre

- old
+ new

@@ -38,21 +38,9 @@ Sneakers.daemonize!(Logger::DEBUG) Sneakers.logger.level.must_equal(Logger::DEBUG) end end - describe '.not_environmental!' do - it 'should ignore environment (RACK_ENV) for all workers' do - Sneakers.configure(:env => 'production') - Sneakers.not_environmental! - EnvWorker.new.queue.name.must_equal('defaults') - end - - it 'should ignore environment (RACK_ENV) for all workers' do - Sneakers.configure(:env => 'production') - EnvWorker.new.queue.name.must_equal('defaults_production') - end - end describe '.clear!' do it 'must reset dirty configuration to default' do Sneakers::Config[:log].must_equal(STDOUT) Sneakers.configure(:log => 'foobar.log')