Class Test::Spec::Should
In: lib/test/spec.rb
lib/test/spec/should-output.rb
Parent: Object

Methods

<   <=   ==   ===   =~   >   >=   _raise   a   add_assertion   an   be   blaming   close   equal   include   instance_of   kind_of   match   messaging   method_missing   new   nil   not   output   pass   respond_to   satisfy   throw  

Included Modules

Test::Unit::Assertions

Public Class methods

Public Instance methods

==(value)

Alias for equal

=~(value)

Alias for match

blaming(message)

Alias for messaging

Captures output from the IO given as the second argument (STDIN by default) and matches it against a String or Regexp given as the first argument.

[Validate]