spec/spec_helper.rb in eastwood-0.4.0 vs spec/spec_helper.rb in eastwood-0.5.0
- old
+ new
@@ -45,10 +45,10 @@
match do |delegate|
delegate.send method
end
chain :to do |receiver, method|
@receiver, @method = receiver, method
- @receiver.should_receive( @method ){ true }
+ @receiver.should_receive( @method ){ double( 'delegate' ).as_null_object }
end
description do
"delegate ##{method} to #{@receiver}##{@method}"
end
failure_message_for_should do |delegate|