spec/motion/mail/mail_spec.rb in bubble-wrap-1.4.0 vs spec/motion/mail/mail_spec.rb in bubble-wrap-1.5.0.rc1
- old
+ new
@@ -1,9 +1,9 @@
# Mocking the presentViewController
class MailViewController < UIViewController
attr_accessor :expectation
- def presentModalViewController(modal, animated: animated)
+ def presentViewController(modal, animated: animated, completion: completion)
expectation.call modal, animated
end
end
# Monkey-patching MFMailComposeViewController