spec_helper.rb 750 B

123456789101112131415161718
  1. # coding: utf-8
  2. # This file was generated by the `rspec --init` command. Conventionally, all
  3. # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
  4. # Require this file using `require "spec_helper"` to ensure that it is only
  5. # loaded once.
  6. #
  7. # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
  8. RSpec.configure do |config|
  9. config.treat_symbols_as_metadata_keys_with_true_values = true
  10. config.run_all_when_everything_filtered = true
  11. config.filter_run :focus
  12. # Run specs in random order to surface order dependencies. If you find an
  13. # order dependency and want to debug it, you can fix the order by providing
  14. # the seed, which is printed after each run.
  15. # --seed 1234
  16. config.order = 'random'
  17. end