test/backgrounded_test.rb in backgrounded-2.0.0.pre2 vs test/backgrounded_test.rb in backgrounded-2.0.0.rc1

- old
+ new

@@ -33,13 +33,12 @@ assert @result.is_a?(Backgrounded::Proxy) end end context 'invoking with options' do setup do + Backgrounded.handler.expects(:options=).with(:priority => :high) @result = User.backgrounded(:priority => :high) end - should 'initialize proxy with options' do - assert_equal({:priority => :high}, @result.instance_variable_get(:@options)) - end + should 'pass options onto Backgrounded.handler' do end # see expectations end end end