Class Spec::Expectations::MessageBuilder
In: lib/spec/expectations/message_builder.rb
Parent: Object

TODO - DAC - This is mid-refactoring right now - I‘d like to get ALL failure messages for rspec and rspec_on_rails generated by this class so that we can make any enhancements, improvements in one place. Right now it‘s pretty scattered.

Methods

Public Instance methods

[Source]

    # File lib/spec/expectations/message_builder.rb, line 8
 8:       def build_message(actual, expectation, expected)
 9:         "#{actual.inspect} #{expectation} #{expected.inspect}"
10:       end

[Validate]