Sha256: 27aba5f28a5905c33b8eaa57083b654870f2e38faa2697efdbb80ab3681289f8

Contents?: true

Size: 679 Bytes

Versions: 4

Compression:

Stored size: 679 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

4 entries across 4 versions & 1 rubygems

Version Path
upland_mobile_commons_rest-0.1.2 spec/spec_helper.rb
upland_mobile_commons_rest-0.1.1 spec/spec_helper.rb
upland_mobile_commons_rest-0.1.0 spec/spec_helper.rb
upland_mobile_commons_rest-0.0.1 spec/spec_helper.rb