SHARE
TWEET

Untitled

a guest Feb 26th, 2012 24 Never
  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
RAW Paste Data
Top