-
Notifications
You must be signed in to change notification settings - Fork 551
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #84 from crealytics/master
Fix issue #41
- Loading branch information
Showing
2 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
@rspec | ||
Feature: | ||
|
||
Running specs with a failing rspec setup | ||
|
||
Scenario: Fail if rspec fails before starting its tests | ||
Given a file named "spec/spec_helper.rb" with: | ||
""" | ||
require 'simplecov' | ||
SimpleCov.start | ||
raise "some exception in the class loading before the tests start" | ||
""" | ||
When I run `bundle exec rspec spec` | ||
Then the exit status should not be 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters