class MailViewController

Mocking the presentViewController

Attributes

expectation[RW]

Public Instance Methods

presentViewController(modal, animated: animated, completion: completion) click to toggle source
# File spec/motion/mail/mail_spec.rb, line 5
def presentViewController(modal, animated: animated, completion: completion)
  expectation.call modal, animated
end