mocks.cr icon indicating copy to clipboard operation
mocks.cr copied to clipboard

Added failing test for default values in arguments

Open ndbroadbent opened this issue 6 years ago • 0 comments

  • Depends on: #43
  • Related to: #41

I realized that mocks.cr doesn't actually support mocking any methods that have default values for arguments, so I am unable to mock File.read_lines because it has some default values.

I've added some failing specs to ensure that a method with default values can be mocked.

ndbroadbent avatar Dec 06 '19 09:12 ndbroadbent