Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit 57a4f6a

Browse files
committed
- fixes spec configuration
1 parent 2331d25 commit 57a4f6a

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.rspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
--format documentation
22
--color
3+
--require spec_helper

spec/spec_helper.rb

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# frozen_string_literal: true
2+
3+
require "microsoft_kiota_faraday"
4+
5+
Dir["#{File.dirname(__FILE__)}/./../lib/*.rb"].each { |f| load(f) }
6+
7+
RSpec.configure do |config|
8+
# Enable flags like --only-failures and --next-failure
9+
config.example_status_persistence_file_path = ".rspec_status"
10+
11+
# Disable RSpec exposing methods globally on `Module` and `main`
12+
config.disable_monkey_patching!
13+
14+
config.expect_with :rspec do |c|
15+
c.syntax = :expect
16+
end
17+
end

0 commit comments

Comments
 (0)