Class: RSpec::Matchers::DSL::Matcher
- Inherits:
-
Object
- Object
- RSpec::Matchers::DSL::Matcher
- Defined in:
- lib/serverspec.rb
Instance Method Summary collapse
Instance Method Details
#failure_message_for_should(&block) ⇒ Object
54 55 56 57 58 |
# File 'lib/serverspec.rb', line 54 def (&block) = "#{example.[:command]}\n" += "#{example.[:stdout]}" end |
#failure_message_for_should_not(&block) ⇒ Object
59 60 61 62 63 |
# File 'lib/serverspec.rb', line 59 def (&block) = "#{example.[:command]}\n" += "#{example.[:stdout]}" end |