spec/combinder_spec.rb in ripar-0.0.1 vs spec/combinder_spec.rb in ripar-0.0.2

- old
+ new

@@ -28,10 +28,10 @@ 'more dead mudokons' end it 'raise on ambiguous method' do combinder = Ripar::Combinder.new(an_object, binding) - ->{combinder.instance_eval{ oops }}.should raise_error(Ripar::Combinder::AmbiguousMethod, /exists on both/) + ->{combinder.instance_eval{ oops }}.should raise_error(Ripar::Combinder::AmbiguousMethod, /oops.*exists on both/) end it 'callback on ambiguous method' do an_object.stub :__ambiguous_method__ do |binding_self, meth, *args| binding_self.object_id.should == self.object_id