Sha256: b421de488b2671ab47c5cc2515377af6ca2f791ac3330a9efeec5c42c3ff08dd
Contents?: true
Size: 228 Bytes
Versions: 2
Compression:
Stored size: 228 Bytes
Contents
Spree::Zone.class_eval do def self.global find_by_name("GlobalZone") || Factory(:global_zone) end end require 'factory_girl' Dir["#{File.dirname(__FILE__)}/factories/**"].each do |f| require File.expand_path(f) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree_core-1.1.0 | lib/spree/core/testing_support/factories.rb |
spree_core-1.1.0.rc2 | lib/spree/core/testing_support/factories.rb |