Just to throw this out there, but it seems this spec has helped identify a sticky point in your current design. Perhaps dependency injection would be helpful here.
You could easily inject an instance_double("SomeProcessService").as_null_object. If necessary, you could also create a new fake class that does something more complex. That would allow other more invasive verifications without worrying about the actual process service internals.
--
You received this message because you are subscribed to the Google Groups "rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rspec+un...@googlegroups.com.
To post to this group, send email to rs...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rspec/02c0f8d7-85e6-4ef0-b7c2-0d90c09ce413%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.