Replace should_receive with expect...to receive
Replace mock with double
Replace stub! with stub
Replace stub with allow...to receive
Convert to Ruby 1.8 hash syntax
Replace to_not with not_to and remove arguments to raise_error