Sha256: 86b4926a94bc3fb8aa98e2b6aa970274412c80b7c4f5b91d3a7e15c67199f951

Contents?: true

Size: 682 Bytes

Versions: 3

Compression:

Stored size: 682 Bytes

Contents

# frozen_string_literal: true

require 'bundler/setup'
require 'upland_mobile_commons_rest'
require 'webmock/rspec'

# Require everything in the `support` directory
Dir[File.join(File.dirname(__FILE__), 'support', '**', '*.rb')].sort.each { |f| require f }

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!

  # Allow us to say 'describe Foo' instead of 'RSpec.describe Foo'
  config.expose_dsl_globally = true

  config.expect_with :rspec do |c|
    c.syntax = :expect
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
upland_mobile_commons_rest-0.3.1 spec/spec_helper.rb
upland_mobile_commons_rest-0.3.0 spec/spec_helper.rb
upland_mobile_commons_rest-0.2.0 spec/spec_helper.rb