Sha256: 881db768f35df10f5484f1324b52d41e69835194370bfe66b5913ddb6b7e2f8e
Contents?: true
Size: 592 Bytes
Versions: 3
Compression:
Stored size: 592 Bytes
Contents
begin require 'spec' require 'mocha' rescue LoadError require 'rubygems' require 'spec' require 'mocha' end $:.unshift(File.dirname(__FILE__) + '/../lib') require 'postalmethods' $VERBOSE = nil ##silence annoying warnings from soap4r PM_OPTS = {:username => 'imajes', :password => 'rubyr00ls'} # hash hacks to make hacking in specs easier 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 require "ruby-debug"
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
postalmethods-1.0.0 | spec/spec_helper.rb |
postalmethods-1.1.1 | spec/spec_helper.rb |
postalmethods-1.0.1 | spec/spec_helper.rb |