test/Factories.rb in openpay-1.0.7 vs test/Factories.rb in openpay-1.0.8
- old
+ new
@@ -206,7 +206,21 @@
trial_days 30
card_id 'required'
plan_id 'required'
initialize_with { attributes }
end
+
+
+
+ factory :webhook1, class: Hash do
+ url 'http://requestb.in/190netg1'
+ event_types ['charge.succeeded','charge.created','charge.cancelled','charge.failed']
+ initialize_with { attributes }
+ end
+
+ factory :webhook2, class: Hash do
+ url 'http://requestb.in/vubjb4vu'
+ event_types ['charge.succeeded','charge.created','charge.cancelled','charge.failed']
+ initialize_with { attributes }
+ end
end