Sha256: 532f44af43151551afcedab12ec3324d4a6496a4289b89e40689ecf5e847b17c

Contents?: true

Size: 563 Bytes

Versions: 4

Compression:

Stored size: 563 Bytes

Contents

# frozen_string_literal: true

require 'pry-byebug'
require_relative '../lib/protected_constructor'

Dir[File.join(Dir.pwd, 'spec/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!

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ProtectedConstructor-3.0.3 spec/spec_helper.rb
ProtectedConstructor-3.0.2 spec/spec_helper.rb
ProtectedConstructor-3.0.1 spec/spec_helper.rb
ProtectedConstructor-3.0.0 spec/spec_helper.rb