test/factories.rb in geocerts-0.0.25 vs test/factories.rb in geocerts-1.0.0
- old
+ new
@@ -11,5 +11,13 @@
end
Factory.define :product, :class => GeoCerts::Product do |p|
p.sku 'Q'
end
+
+Factory.define :fraud_score, :class => GeoCerts::FraudScore do |f|
+ f.ip '1.2.3.4'
+ f.city 'Orlando'
+ f.region 'FL'
+ f.postal_code '32801'
+ f.country 'US'
+end