Created
November 4, 2012 11:48
-
-
Save vderyagin/4011574 to your computer and use it in GitHub Desktop.
spec_helper for use with rspec
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
--color | |
--format progress | |
--order random |
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
RSpec.configure do |config| | |
config.treat_symbols_as_metadata_keys_with_true_values = true | |
config.run_all_when_everything_filtered = true | |
config.fail_fast = false | |
config.filter_run_including :focus | |
config.filter_run_excluding :slow # run with rspec --tag slow | |
config.alias_example_to :xit, :pending => 'Temporarily disabled (xit)' | |
config.order = 'random' | |
config.expect_with :rspec do |c| | |
c.syntax = :expect | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment