I'm new to using rspec should_receive and having a lot of problems because it "replaces" the method. For example:
UserMailer.should_receive(:new_order).with(order)
gives undefined method `deliver' for nil:NilClass, since rspec makes the method stop working. How do I deal with this?