Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ rspec rspec_describe_spec.rb --format=documentation
- in describe with verb params
- in describe with verb params
- outer level
- has a passing example
- has a failing example (FAILED - 1)
- inner level
- has another passing example
- has another failing example (FAILED - 2)
- Failures:
- 1) outer level has a failing example
- Failure/Error: 3.should be > 10
- expected > 10, got 3
- # ./rspec_describe_spec.rb:29
- 2) outer level inner level has another failing example
- Failure/Error: 5.should be_a(String)
- expected 5 to be a kind of String
- # ./rspec_describe_spec.rb:38
- Finished in 0.00306 seconds
- 4 examples, 2 failures
Add Comment
Please, Sign In to add comment