Sha256: dd190396084d78d2ed3df69ccee43d3f5439af6aa36179bd45b7a9e3ad3cdc2a

Contents?: true

Size: 698 Bytes

Versions: 2

Compression:

Stored size: 698 Bytes

Contents

require "bundler/setup"
require "nedbank_api"
require 'pry'
require 'webmock/rspec'
require 'factory_bot'
require 'httplog'

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

  config.include FactoryBot::Syntax::Methods

  config.before :all do
    FactoryBot.find_definitions
  end

  WebMock.disable_net_connect!(allow_localhost: true)
end

HttpLog.configure do |config|
  config.log_headers = false
  config.color = :yellow
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nedbank_api-0.2.5 spec/spec_helper.rb
nedbank_api-0.2.2 spec/spec_helper.rb