Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Feb 26th, 2012  |  syntax: None  |  size: 0.63 KB  |  hits: 22  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. $ rspec rspec_describe_spec.rb --format=documentation
  2. in describe with verb params
  3. in describe with verb params
  4.  
  5. outer level
  6.   has a passing example
  7.   has a failing example (FAILED - 1)
  8.   inner level
  9.     has another passing example
  10.     has another failing example (FAILED - 2)
  11.  
  12. Failures:
  13.   1) outer level has a failing example
  14.      Failure/Error: 3.should be > 10
  15.      expected > 10, got 3
  16.      # ./rspec_describe_spec.rb:29
  17.  
  18.   2) outer level inner level has another failing example
  19.      Failure/Error: 5.should be_a(String)
  20.      expected 5 to be a kind of String
  21.      # ./rspec_describe_spec.rb:38
  22.  
  23. Finished in 0.00306 seconds
  24. 4 examples, 2 failures