diff options
| author | Adam Malczewski <[email protected]> | 2026-03-31 19:05:55 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-03-31 19:05:55 +0900 |
| commit | b13ec1794c81a70b457df70c0b34a32d94dc36b8 (patch) | |
| tree | 2436a5e4626d44684423471cc6430884e0d27e57 /spec/spec_helper.rb | |
| download | dispatch-adapter-copilot-b13ec1794c81a70b457df70c0b34a32d94dc36b8.tar.gz dispatch-adapter-copilot-b13ec1794c81a70b457df70c0b34a32d94dc36b8.zip | |
Diffstat (limited to 'spec/spec_helper.rb')
| -rw-r--r-- | spec/spec_helper.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb new file mode 100644 index 0000000..700d63d --- /dev/null +++ b/spec/spec_helper.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +require "dispatch/adapter/copilot" + +RSpec.configure do |config| + # Enable flags like --only-failures and --next-failure + config.example_status_persistence_file_path = ".rspec_status" + + # Disable RSpec exposing methods globally on `Module` and `main` + config.disable_monkey_patching! + + config.expect_with :rspec do |c| + c.syntax = :expect + end +end |
