Sha256: eda8e9cd3f95415ad462f816ca9b80460f8de92f64b5198231d5aa64c7a03340
Contents?: true
Size: 1.27 KB
Versions: 16
Compression:
Stored size: 1.27 KB
Contents
# frozen_string_literal: true if ENV['CODECLIMATE_REPO_TOKEN'] # require 'codeclimate-test-reporter' # CodeClimate::TestReporter.start require 'simplecov' SimpleCov.start end require 'bundler/setup' Bundler.setup require 'finapps' require 'webmock/rspec' # noinspection RubyResolve require File.join(File.dirname(__dir__), 'spec/support/fake_api') RSpec.configure do |config| config.expect_with(:rspec) do |expectations| expectations.include_chain_clauses_in_custom_matcher_descriptions = true expectations.syntax = :expect end config.mock_with(:rspec) {|mocks| mocks.verify_partial_doubles = true } # config.filter_run_including :focus => true config.default_formatter = 'doc' if config.files_to_run.one? config.order = :random config.example_status_persistence_file_path = 'spec/examples.txt' config.warnings = true Kernel.srand config.seed config.before(:each) do base_url = "#{FinAppsCore::REST::Defaults::DEFAULTS[:host]}/v#{FinAppsCore::REST::Defaults::API_VERSION}/" stub_request(:any, /#{base_url}/).to_rack(::FakeApi) end WebMock.disable_net_connect!(allow: 'codeclimate.com') end VALID_CREDENTIALS = {identifier: '49fb918d-7e71-44dd-7378-58f19606df2a', token: 'hohoho='}.freeze RESULTS = 0 ERROR_MESSAGES = 1
Version data entries
16 entries across 16 versions & 1 rubygems