[ruby-cvs:67594] nobu:r60413 (trunk): Fix Mock.verify_call to mock_respond_to?

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Oct 25 11:41:47 JST 2017


nobu	2017-10-25 11:41:47 +0900 (Wed, 25 Oct 2017)

  New Revision: 60413

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60413

  Log:
    Fix Mock.verify_call to mock_respond_to?
    
    * spec/mspec/lib/mspec/mocks/mock.rb (Mock.verify_call): should
      pass arguments to as given, not packed in an array.
      mock_respond_to? expects 2 or 3 arguments.

  Modified files:
    trunk/spec/mspec/lib/mspec/mocks/mock.rb


More information about the ruby-cvs mailing list