Sha256: 63c6cf99e1b794f9bc5dc4d5c9d46aa078851b1f238660935ccd4973e28f81a1

Contents?: true

Size: 610 Bytes

Versions: 8

Compression:

Stored size: 610 Bytes

Contents

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
#require 'ruby-debug'
require 'factory_toys'
require 'spec'
require 'spec/autorun'

Spec::Runner.configure do |config|
  
end

begin
  SETTLEMENT_METHODS
rescue
  SETTLEMENT_METHODS = [DCC_DCC = {:buy => 'dcc from dcc', :to => 'dcc to dcc'},
                        REG_REG = {:buy => 'reg from reg', :to => 'reg to reg'}
                        ]
end

#implemented here to get tests to pass as in Rails Environment and not ruby core??
class String
  def blank?
    self.nil? or self == ''
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
factory_toys-1.0.5 spec/spec_helper.rb
factory_toys-1.0.4 spec/spec_helper.rb
factory_toys-1.0.3 spec/spec_helper.rb
factory_toys-1.0.2 spec/spec_helper.rb
factory_toys-1.0.1 spec/spec_helper.rb
factory_toys-1.0.0 spec/spec_helper.rb
factory_toys-0.4.2 spec/spec_helper.rb
factory_toys-0.4.1 spec/spec_helper.rb