class Foo def bar(a, b) ... Foo.should_receive( :bar )
expects bar to be called with any arguments.
Foo.should_receive( :bar )
Use the anything matcher:
anything
Foo.should_receive(:bar).with(:baz, anything)