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
50 51 52 53 54 |
# File 'lib/serverspec.rb', line 50 def (&block) = "#{example.[:command]}\n" += "#{example.[:stdout]}" end |
#failure_message_for_should_not(&block) ⇒ Object
55 56 57 58 59 |
# File 'lib/serverspec.rb', line 55 def (&block) = "#{example.[:command]}\n" += "#{example.[:stdout]}" end |