diff options
| author | mo khan <mo.khan@gmail.com> | 2020-04-14 12:18:02 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-04-14 12:18:02 -0600 |
| commit | 1f2128c4a2dd18f6c05535e702f288c2472844d1 (patch) | |
| tree | 1fff7ea922249b038ccf578d3963a4ea889c5a51 /spec/spec_helper.rb | |
initial commit
Diffstat (limited to 'spec/spec_helper.rb')
| -rw-r--r-- | spec/spec_helper.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb new file mode 100644 index 0000000..d641367 --- /dev/null +++ b/spec/spec_helper.rb @@ -0,0 +1,14 @@ +require "bundler/setup" +require "spandx/gitlab" + +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 |
