[Rspec-users] Creating a 'default' mock

Chris Roos chrisjroos at gmail.com
Mon Jul 24 11:44:27 EDT 2006


Am I correct in thinking that it's not currently possible to have a
method that creates a 'standard' mock (i.e. a mock that has defaults
useful in all contexts)?

I've tried with the mock method and also by manually creating new Mock
instances.  I get failures when setting up expectations (undefined
method 'receive' for proc).

Chris


More information about the Rspec-users mailing list