VimUnDoM=8@L9\X\ /ܙBc#?"=7777aG _nnsVaomnK # Run specs in random order to surface order dependencies. If you find anM # order dependency and want to debug it, you can fix the order by providing. # the seed, which is printed after each run. # --seed 1234 config.order = :random5_DnnVaqDKtDEt5_+ttVa+/z+,z5_-wwVa,.}2 config.access_token = ENV['SANDBOX_API_KEY']5_-9wwVa,.}P config.access_token = if ENV.fetch('LOCAL_SDK_TEST')ENV['SANDBOX_API_KEY']5_-AwwVa,/}W config.access_token = if ENV.fetch('LOCAL_SDK_TEST', false)ENV['SANDBOX_API_KEY']5_ -xxVa,/~A config.access_token = if ENV.fetch('LOCAL_SDK_TEST', false)5_ /yyVa.04 ENV['SANDBOX_API_KEY']5_ /yyVa.02 ENV['SANDBOX_API_KEY']5_ /yyVa.00 ENV['SANDBOX_API_KEY']5_ /yyVa.0. ENV['SANDBOX_API_KEY']5_  /yyVa.0, ENV['SANDBOX_API_KEY']5_ /yyVa.0* ENV['SANDBOX_API_KEY']5_/yyVa.0( ENV['SANDBOX_API_KEY']5_/yyVa.0& ENV['SANDBOX_API_KEY']5_/yyVa.0$ ENV['SANDBOX_API_KEY']5_/ yyVa.0" ENV['SANDBOX_API_KEY']5_/ yyVa.0 ENV['SANDBOX_API_KEY']5_.yyVa.0 .05_0zzVa/1 ENV['SANDBOX_API_KEY']5_0 zzVa02 025_0 {{Va/1 ENV['SANDBOX_API_KEY']5_0{{Va/1& ENV.fetch['SANDBOX_API_KEY']015_-{{Va,. config.access_token = 5_.{{Va.0 .05_2*+VRa245_3*+VRa36345_3*+VRa235_ 3*+VRa24 @scheme = 'https'5_! 3 *+VRa24 config.@scheme = 'https'5_ #!3*+VRa23 config.scheme = 'https'5_!$"#/*+VRa/1/05_#%$-*+VRa,- config.access_token =5_$&%-*+VRa-/-.5_%'&-*+VRa,.- if ENV.fetch('LOCAL_SDK_TEST', false)5_&('.*+VRa-/ config.access_token =5_')(.*+VRa-/ config.access_token =* ENV.fetch('LOCAL_PATCH_API_KEY')5_(*)/*+VRa.0 config.scheme = 'https'5_)+*/*+VRa.0 config.scheme = 'https'5_*,+0 *+VRa/2 else& ENV.fetch('SANDBOX_API_KEY')5_+-,0*+VRa02015_,.-1*+VRa02> config.access_token = ENV.fetch('LOCAL_PATCH_API_KEY')5_-/.1*+VRa02 config.access_token = $ ENV.fetch('SANDBOX_API_KEY')5_.0/2*+VRa13 end5_/103*+VRa23 @host = 'api.patch.io'5_021/*+VRa/1/05_1320*+VRa/1 @host = 'api.patch.io'5_2430*+VRa/1 @host = 'api.patch.io'5_3540*+VRa/1 host = 'api.patch.io'5_4650"*+VRa/1# host = 'api.patch.test:300'5_5760*+VRa /1$ host = 'api.patch.test:3000'5_67*+VRaF=begin #Patch API V14#The core API used to integrate with Patch's service'The version of the OpenAPI document: v1 Contact: developers@usepatch.com,Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1=end# load the gemrequire 'patch_ruby'require 'constants'require 'factory_bot'# Require shared spec examples9Dir["./spec/support/**/*.rb"].sort.each { |f| require f }Q# The following was generated by the `rspec --init` command. Conventionally, allL# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.O# The generated `.rspec` file contains `--require spec_helper` which will causeO# this file to always be loaded, without a need to explicitly require it in any# files.#I# Given that it is always loaded, you are encouraged to keep this file asM# light-weight as possible. Requiring heavyweight dependencies from this fileM# will add to the boot time of your test suite on EVERY test run, even for anP# individual file that may not need all of that loaded. Instead, consider makingO# a separate helper file that requires the additional dependencies and performsM# the additional setup, and require it from the spec files that actually need# it.#L# The `.rspec` file also contains a few flags that are not defaults but that# users commonly want.#B# See http://rubydoc.info/gems/rspec-core/RSpec/Core/ConfigurationRSpec.configure do |config|% # Use FactoryBot for test factories, config.include FactoryBot::Syntax::Methods config.before(:suite) do FactoryBot.find_definitions Patch.configure do |config|+ if ENV.fetch('LOCAL_SDK_TEST', false)> config.access_token = ENV.fetch('LOCAL_PATCH_API_KEY') config.scheme = 'http'+ config.host = 'api.patch.test:3000' else: config.access_token = ENV.fetch('SANDBOX_API_KEY') end end endA # rspec-expectations config goes here. You can use an alternateF # assertion/expectation library such as wrong or the stdlib/minitest # assertions if you prefer.- config.expect_with :rspec do |expectations|O # This option will default to `true` in RSpec 4. It makes the `description`N # and `failure_message` of custom matchers include text for helper methods" # defined using `chain`, e.g.:; # be_bigger_than(2).and_smaller_than(4).description4 # # => "be bigger than 2 and smaller than 4" # ...rather than:! # # => "be bigger than 2"L expectations.include_chain_clauses_in_custom_matcher_descriptions = true endF # rspec-mocks config goes here. You can use an alternate test doubleM # library (such as bogus or mocha) by changing the `mock_with` option here.$ config.mock_with :rspec do |mocks|K # Prevents you from mocking or stubbing a method that does not exist onG # a real object. This is generally recommended, and will default to # `true` in RSpec 4.' mocks.verify_partial_doubles = true endK # Run specs in random order to surface order dependencies. If you find anM # order dependency and want to debug it, you can fix the order by providing. # the seed, which is printed after each run. # --seed 1234 config.order = :randomG# The settings below are suggested to provide a good initial experienceA# with RSpec, but feel free to customize to your heart's content.=beginE # These two settings work together to allow you to limit a spec runH # to individual examples or groups you care about by tagging them withI # `:focus` metadata. When nothing is tagged with `:focus`, all examples # get run. config.filter_run :focus0 config.run_all_when_everything_filtered = trueG # Allows RSpec to persist some state between runs in order to supportH # the `--only-failures` and `--next-failure` CLI options. We recommendA # you configure your source control system to ignore this file.C config.example_status_persistence_file_path = "spec/examples.txt"H # Limits the available syntax to the non-monkey patched syntax that is' # recommended. For more details, see:E # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/W # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/\ # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode! config.disable_monkey_patching!J # This setting enables warnings. It's recommended, but in some cases may/ # be too noisy due to issues in dependencies. config.warnings = trueJ # Many RSpec users commonly either run the entire suite or an individualF # file, and it's useful to allow more verbose output when running an # individual spec file. if config.files_to_run.one?: # Use the documentation formatter for detailed output,4 # unless a formatter has already been configured% # (e.g. via a command-line flag).$ config.default_formatter = 'doc' end; # Print the 10 slowest examples and example groups at the@ # end of the spec run, to help surface which specs are running # particularly slow. config.profile_examples = 10L # Seed global randomization in this process using the `--seed` CLI option.J # Setting this allows you to use `--seed` to deterministically reproduceM # test failures related to randomization by passing the same `--seed` value* # as the one that triggered the failure. Kernel.srand config.seed=endend5_!#"/*+VRa/0/0 config.scheme = 'https'5_,*+VRa7,- ,. require "pry"; binding.pry5_, zzVa,-},-} Patch.configure do |config|2 config.access_token = ENV['SANDBOX_API_KEY'] end5