|
1 |
| -# This file was generated by the `rspec --init` command. Conventionally, all |
2 |
| -# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`. |
3 |
| -# The generated `.rspec` file contains `--require spec_helper` which will cause |
4 |
| -# this file to always be loaded, without a need to explicitly require it in any |
5 |
| -# files. |
6 |
| -# |
7 |
| -# Given that it is always loaded, you are encouraged to keep this file as |
8 |
| -# light-weight as possible. Requiring heavyweight dependencies from this file |
9 |
| -# will add to the boot time of your test suite on EVERY test run, even for an |
10 |
| -# individual file that may not need all of that loaded. Instead, consider making |
11 |
| -# a separate helper file that requires the additional dependencies and performs |
12 |
| -# the additional setup, and require it from the spec files that actually need |
13 |
| -# it. |
14 |
| -# |
15 |
| -# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration |
16 | 1 | require 'extract_i18n'
|
17 | 2 | require 'pry'
|
18 | 3 |
|
@@ -66,59 +51,5 @@ def cmp!(hash)
|
66 | 51 | config.shared_context_metadata_behavior = :apply_to_host_groups
|
67 | 52 |
|
68 | 53 | config.example_status_persistence_file_path = "spec/.examples.txt"
|
69 |
| -# The settings below are suggested to provide a good initial experience |
70 |
| -# with RSpec, but feel free to customize to your heart's content. |
71 |
| -=begin |
72 |
| - # This allows you to limit a spec run to individual examples or groups |
73 |
| - # you care about by tagging them with `:focus` metadata. When nothing |
74 |
| - # is tagged with `:focus`, all examples get run. RSpec also provides |
75 |
| - # aliases for `it`, `describe`, and `context` that include `:focus` |
76 |
| - # metadata: `fit`, `fdescribe` and `fcontext`, respectively. |
77 |
| - config.filter_run_when_matching :focus |
78 |
| -
|
79 |
| - # Allows RSpec to persist some state between runs in order to support |
80 |
| - # the `--only-failures` and `--next-failure` CLI options. We recommend |
81 |
| - # you configure your source control system to ignore this file. |
82 |
| - config.example_status_persistence_file_path = "spec/examples.txt" |
83 |
| -
|
84 |
| - # Limits the available syntax to the non-monkey patched syntax that is |
85 |
| - # recommended. For more details, see: |
86 |
| - # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/ |
87 |
| - # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/ |
88 |
| - # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode |
89 |
| - config.disable_monkey_patching! |
90 |
| -
|
91 |
| - # This setting enables warnings. It's recommended, but in some cases may |
92 |
| - # be too noisy due to issues in dependencies. |
93 |
| - config.warnings = true |
94 |
| -
|
95 |
| - # Many RSpec users commonly either run the entire suite or an individual |
96 |
| - # file, and it's useful to allow more verbose output when running an |
97 |
| - # individual spec file. |
98 |
| - if config.files_to_run.one? |
99 |
| - # Use the documentation formatter for detailed output, |
100 |
| - # unless a formatter has already been configured |
101 |
| - # (e.g. via a command-line flag). |
102 |
| - config.default_formatter = "doc" |
103 |
| - end |
104 |
| -
|
105 |
| - # Print the 10 slowest examples and example groups at the |
106 |
| - # end of the spec run, to help surface which specs are running |
107 |
| - # particularly slow. |
108 |
| - config.profile_examples = 10 |
109 |
| -
|
110 |
| - # Run specs in random order to surface order dependencies. If you find an |
111 |
| - # order dependency and want to debug it, you can fix the order by providing |
112 |
| - # the seed, which is printed after each run. |
113 |
| - # --seed 1234 |
114 |
| - config.order = :random |
115 |
| -
|
116 |
| - # Seed global randomization in this process using the `--seed` CLI option. |
117 |
| - # Setting this allows you to use `--seed` to deterministically reproduce |
118 |
| - # test failures related to randomization by passing the same `--seed` value |
119 |
| - # as the one that triggered the failure. |
120 |
| - Kernel.srand config.seed |
121 |
| -=end |
122 |
| - |
123 |
| - config.include AdapterHelpers, file_path: /spec\/adapters/ |
| 54 | + config.include AdapterHelpers, file_path: %r{spec/adapters} |
124 | 55 | end
|
0 commit comments