class SuperDiff::RSpec::MatcherTextBuilders::RaiseError
Protected Instance Methods
actual_phrase()
click to toggle source
# File lib/super_diff/rspec/matcher_text_builders/raise_error.rb, line 7 def actual_phrase if actual "Expected raised exception" else "Expected" end end
add_actual_value()
click to toggle source
# File lib/super_diff/rspec/matcher_text_builders/raise_error.rb, line 15 def add_actual_value if actual template.add_text_in_color(actual_color) { actual } else template.add_text("block") end end