Module Expectations::StateBasedRecorderForExpectationsWithoutBlock
In: lib/expectations/state_based_recorder_for_expectations_without_block.rb

Methods

Attributes

file  [RW] 
line  [RW] 

Public Instance methods

[Source]

   # File lib/expectations/state_based_recorder_for_expectations_without_block.rb, line 5
5:   def failure_message
6:     "expected: <" +
7:       File.read(file).split("\n")[line.to_i - 1].strip +
8:       "> got: <#{subject} #{@message_parts.join(" ")}>"
9:   end

[Validate]