spec/tasks/dispatcher_spec.rb in volt-0.9.2 vs spec/tasks/dispatcher_spec.rb in volt-0.9.3.pre1

- old
+ new

@@ -8,9 +8,14 @@ describe Volt::Dispatcher do before do Volt.logger = spy('Volt::VoltLogger') end + after do + # Cleanup, make volt make a new logger. Otherwise this will leak out. + Volt.logger = nil + end + it 'should only allow method calls on Task or above in the inheritance chain' do channel = double('channel') expect(channel).to receive(:send_message).with('response', 0, 'yes it works', nil)