briandunn / flatware

A parallel test runner for RSpec and Cucumber with pretty output
MIT License
275 stars 35 forks source link

unless the scenario passed, dont assert the exit status #13

Closed chriserin closed 10 years ago

chriserin commented 11 years ago

The TERM scenario was failing in the After hook because it didn't have an exit status even, though all of its steps were skipped. This commit checks that the scenario has passed before asserting the exit status.