|
| 1 | +# frozen_string_literal: true |
| 2 | + |
1 | 3 | # This file was generated by the `rails generate rspec:install` command. Conventionally, all
|
2 | 4 | # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
3 | 5 | # The generated `.rspec` file contains `--require spec_helper` which will cause
|
|
44 | 46 | # triggering implicit auto-inclusion in groups with matching metadata.
|
45 | 47 | config.shared_context_metadata_behavior = :apply_to_host_groups
|
46 | 48 |
|
47 |
| -# The settings below are suggested to provide a good initial experience |
48 |
| -# with RSpec, but feel free to customize to your heart's content. |
49 |
| -=begin |
50 |
| - # This allows you to limit a spec run to individual examples or groups |
51 |
| - # you care about by tagging them with `:focus` metadata. When nothing |
52 |
| - # is tagged with `:focus`, all examples get run. RSpec also provides |
53 |
| - # aliases for `it`, `describe`, and `context` that include `:focus` |
54 |
| - # metadata: `fit`, `fdescribe` and `fcontext`, respectively. |
55 |
| - config.filter_run_when_matching :focus |
56 |
| -
|
57 |
| - # Allows RSpec to persist some state between runs in order to support |
58 |
| - # the `--only-failures` and `--next-failure` CLI options. We recommend |
59 |
| - # you configure your source control system to ignore this file. |
60 |
| - config.example_status_persistence_file_path = "spec/examples.txt" |
61 |
| -
|
62 |
| - # Limits the available syntax to the non-monkey patched syntax that is |
63 |
| - # recommended. For more details, see: |
64 |
| - # https://relishapp.com/rspec/rspec-core/docs/configuration/zero-monkey-patching-mode |
65 |
| - config.disable_monkey_patching! |
66 |
| -
|
67 |
| - # Many RSpec users commonly either run the entire suite or an individual |
68 |
| - # file, and it's useful to allow more verbose output when running an |
69 |
| - # individual spec file. |
70 |
| - if config.files_to_run.one? |
71 |
| - # Use the documentation formatter for detailed output, |
72 |
| - # unless a formatter has already been configured |
73 |
| - # (e.g. via a command-line flag). |
74 |
| - config.default_formatter = "doc" |
75 |
| - end |
76 |
| -
|
77 |
| - # Print the 10 slowest examples and example groups at the |
78 |
| - # end of the spec run, to help surface which specs are running |
79 |
| - # particularly slow. |
80 |
| - config.profile_examples = 10 |
81 |
| -
|
82 |
| - # Run specs in random order to surface order dependencies. If you find an |
83 |
| - # order dependency and want to debug it, you can fix the order by providing |
84 |
| - # the seed, which is printed after each run. |
85 |
| - # --seed 1234 |
86 |
| - config.order = :random |
87 |
| -
|
88 |
| - # Seed global randomization in this process using the `--seed` CLI option. |
89 |
| - # Setting this allows you to use `--seed` to deterministically reproduce |
90 |
| - # test failures related to randomization by passing the same `--seed` value |
91 |
| - # as the one that triggered the failure. |
92 |
| - Kernel.srand config.seed |
93 |
| -=end |
| 49 | + # The settings below are suggested to provide a good initial experience |
| 50 | + # with RSpec, but feel free to customize to your heart's content. |
| 51 | + # # This allows you to limit a spec run to individual examples or groups |
| 52 | + # # you care about by tagging them with `:focus` metadata. When nothing |
| 53 | + # # is tagged with `:focus`, all examples get run. RSpec also provides |
| 54 | + # # aliases for `it`, `describe`, and `context` that include `:focus` |
| 55 | + # # metadata: `fit`, `fdescribe` and `fcontext`, respectively. |
| 56 | + # config.filter_run_when_matching :focus |
| 57 | + # |
| 58 | + # # Allows RSpec to persist some state between runs in order to support |
| 59 | + # # the `--only-failures` and `--next-failure` CLI options. We recommend |
| 60 | + # # you configure your source control system to ignore this file. |
| 61 | + # config.example_status_persistence_file_path = "spec/examples.txt" |
| 62 | + # |
| 63 | + # # Limits the available syntax to the non-monkey patched syntax that is |
| 64 | + # # recommended. For more details, see: |
| 65 | + # # https://relishapp.com/rspec/rspec-core/docs/configuration/zero-monkey-patching-mode |
| 66 | + # config.disable_monkey_patching! |
| 67 | + # |
| 68 | + # # Many RSpec users commonly either run the entire suite or an individual |
| 69 | + # # file, and it's useful to allow more verbose output when running an |
| 70 | + # # individual spec file. |
| 71 | + # if config.files_to_run.one? |
| 72 | + # # Use the documentation formatter for detailed output, |
| 73 | + # # unless a formatter has already been configured |
| 74 | + # # (e.g. via a command-line flag). |
| 75 | + # config.default_formatter = "doc" |
| 76 | + # end |
| 77 | + # |
| 78 | + # # Print the 10 slowest examples and example groups at the |
| 79 | + # # end of the spec run, to help surface which specs are running |
| 80 | + # # particularly slow. |
| 81 | + # config.profile_examples = 10 |
| 82 | + # |
| 83 | + # # Run specs in random order to surface order dependencies. If you find an |
| 84 | + # # order dependency and want to debug it, you can fix the order by providing |
| 85 | + # # the seed, which is printed after each run. |
| 86 | + # # --seed 1234 |
| 87 | + # config.order = :random |
| 88 | + # |
| 89 | + # # Seed global randomization in this process using the `--seed` CLI option. |
| 90 | + # # Setting this allows you to use `--seed` to deterministically reproduce |
| 91 | + # # test failures related to randomization by passing the same `--seed` value |
| 92 | + # # as the one that triggered the failure. |
| 93 | + # Kernel.srand config.seed |
94 | 94 | end
|
0 commit comments