class Spectro::Exception::UnknownMockResponse

Attributes

file_path[RW]
method_name[RW]

Public Class Methods

new(file_path, method_name) click to toggle source
# File lib/spectro/exception/unknown_mock_response.rb, line 9
def initialize file_path, method_name
  self.file_path = file_path
  self.method_name = method_name
end

Public Instance Methods

to_s() click to toggle source
# File lib/spectro/exception/unknown_mock_response.rb, line 14
def to_s
  "[##{self.method_name}] mock has not response defined for the given params. Verify the specs at \"#{self.file_path}\"."
end