Sha256: 623bfd0e1202438cc84e6694274a846e8e1612b37f136a41a8ac9e800fdadb58
Contents?: true
Size: 465 Bytes
Versions: 2
Compression:
Stored size: 465 Bytes
Contents
module Spec module Expectations # 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. class MessageBuilder def build_message(actual, expectation, expected) "#{actual.inspect} #{expectation} #{expected.inspect}" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rspec-0.7.5 | lib/spec/expectations/message_builder.rb |
rspec-0.7.5.1 | lib/spec/expectations/message_builder.rb |