diff options
| author | mo khan <mo@mokhan.ca> | 2014-05-26 16:30:49 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-05-26 16:30:49 -0600 |
| commit | 4ddbad3e6bd5a95ed4b9c680e93f39003612a61f (patch) | |
| tree | c7b96d8d689e8d7170eddd1ac6542b924258d448 | |
| parent | 951723841cb3b8cb40e6e7a7c2f4835f1f06c8b8 (diff) | |
rspec --init
| -rw-r--r-- | .rspec | 2 | ||||
| -rw-r--r-- | spec/spec_helper.rb | 17 |
2 files changed, 19 insertions, 0 deletions
@@ -0,0 +1,2 @@ +--color +--format progress diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb new file mode 100644 index 0000000..dbc4f1a --- /dev/null +++ b/spec/spec_helper.rb @@ -0,0 +1,17 @@ +# This file was generated by the `rspec --init` command. Conventionally, all +# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`. +# Require this file using `require "spec_helper"` to ensure that it is only +# loaded once. +# +# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration +RSpec.configure do |config| + config.treat_symbols_as_metadata_keys_with_true_values = true + config.run_all_when_everything_filtered = true + config.filter_run :focus + + # Run specs in random order to surface order dependencies. If you find an + # order dependency and want to debug it, you can fix the order by providing + # the seed, which is printed after each run. + # --seed 1234 + config.order = 'random' +end |
