Sha256: 545b0b244e092c65f09a76d31cecafcd84ab629e200eb53213610c2bc6bc09bd
Contents?: true
Size: 328 Bytes
Versions: 1
Compression:
Stored size: 328 Bytes
Contents
require 'bundler/setup' require 'sort_it_out' RSpec.configure do |config| config.mock_with :rspec end class Hash # for excluding keys def except(*exclusions) self.reject { |key, value| exclusions.include? key.to_sym } end # for overriding keys def with(overrides = {}) self.merge overrides end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sort_it_out-1.1.0 | spec/spec_helper.rb |