Created
October 21, 2013 13:16
-
-
Save phlco/7083724 to your computer and use it in GitHub Desktop.
spec_helper.rb
This file contains hidden or 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
| # Configure Rspec to print nice | |
| RSpec.configure do |config| | |
| # Use color in STDOUT | |
| config.color_enabled = true | |
| # Use color not only in STDOUT but also in pagers and files | |
| config.tty = true | |
| # Use the specified formatter | |
| config.formatter = :documentation # :progress, :html, :textmate | |
| # immediately stop running upon first failure | |
| config.fail_fast = true | |
| end |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can also add an
.rspecfile to your root directory and include the following: