Sha256: 2bf4c2cf619b306f6a95ddf22580409cf51c28d45bbd27e66e44772cf20851a9

Contents?: true

Size: 363 Bytes

Versions: 2

Compression:

Stored size: 363 Bytes

Contents

require 'rubygems'
require 'bundler/setup'
Bundler.require(:default)
require 'rspec/core'
require 'support/active_model_lint'

require 'configure_me'

RSpec.configure do |config|
  config.mock_with :mocha
end

def define_test_class(name, base)
  Object.send(:remove_const, name.to_sym) if Object.const_defined?(name)
  Object.const_set(name, Class.new(base))
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
configure_me-0.4.1 spec/spec_helper.rb
configure_me-0.4.0 spec/spec_helper.rb