We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I cloned the repo and ran the integration specs with my sandbox credentials, and got two errors! Oops!
Failures: 1) Product Catalog creates a product catalog Failure/Error: product_catalog = FactoryGirl.create(:product_catalog, :name => @product_name) StandardError: #<Enumerator: #<ActiveModel::Errors:0x007fd8faeb9008 @base=#<Zuora::Objects::ProductRatePlanCharge:0x007fd8faec1168 @changed_attribute s={"product_rate_plan_id"=>nil, "name"=>nil, "bill_cycle_type"=>nil, "billing_period"=>nil, "billing_period_alignment"=>nil, "charge_model"=> nil, "charge_type"=>nil, "included_units"=>nil, "smoothing_model"=>nil, "uom"=>nil, "trigger_event"=>nil}, @product_rate_plan_id="2c92c0f947f 1e6ee0147f9e841d715e0", @name="Rate Plan Charge 1", @bill_cycle_type="DefaultFromCustomer", @billing_period="Month", @billing_period_alignmen t="AlignToCharge", @charge_model="Volume Pricing", @charge_type="Recurring", @included_units="1", @smoothing_model="Rollover", @uom="Each", @ trigger_event="ServiceActivation", @product_rate_plan_charge_tiers=[#<Zuora::Objects::ProductRatePlanChargeTier:0x007fd8faeba278 @changed_att ributes={"currency"=>nil, "price"=>nil, "active"=>nil, "starting_unit"=>nil, "ending_unit"=>nil}, @currency="USD", @price=0, @active=true, @s tarting_unit=0, @ending_unit=10>], @validation_context=nil, @errors=#<ActiveModel::Errors:0x007fd8faeb9008 ...>>, @messages={:base=>["Could n ot create product charge because the charge model used is not active."]}>:map> # ./lib/zuora/objects/base.rb:125:in `save!' # ./spec/factories/products.rb:11:in `block (3 levels) in <top (required)>' # ./spec/integration/product_catalog_spec.rb:14:in `block (2 levels) in <top (required)>' 2) Subscription can be created Failure/Error: @product = FactoryGirl.create(:product_catalog, :name => generate_key) StandardError: #<Enumerator: #<ActiveModel::Errors:0x007fd8fadc7a00 @base=#<Zuora::Objects::ProductRatePlanCharge:0x007fd8fd0f2750 @changed_attribute s={"product_rate_plan_id"=>nil, "name"=>nil, "bill_cycle_type"=>nil, "billing_period"=>nil, "billing_period_alignment"=>nil, "charge_model"=> nil, "charge_type"=>nil, "included_units"=>nil, "smoothing_model"=>nil, "uom"=>nil, "trigger_event"=>nil}, @product_rate_plan_id="2c92c0f947f 1e6ee0147f9e8693915ff", @name="Rate Plan Charge 2", @bill_cycle_type="DefaultFromCustomer", @billing_period="Month", @billing_period_alignmen t="AlignToCharge", @charge_model="Volume Pricing", @charge_type="Recurring", @included_units="1", @smoothing_model="Rollover", @uom="Each", @ trigger_event="ServiceActivation", @product_rate_plan_charge_tiers=[#<Zuora::Objects::ProductRatePlanChargeTier:0x007fd8fae85938 @changed_att ributes={"currency"=>nil, "price"=>nil, "active"=>nil, "starting_unit"=>nil, "ending_unit"=>nil}, @currency="USD", @price=0, @active=true, @s tarting_unit=0, @ending_unit=10>], @validation_context=nil, @errors=#<ActiveModel::Errors:0x007fd8fadc7a00 ...>>, @messages={:base=>["Could n ot create product charge because the charge model used is not active."]}>:map> # ./lib/zuora/objects/base.rb:125:in `save!' # ./spec/factories/products.rb:11:in `block (3 levels) in <top (required)>' # ./spec/integration/subscription_spec.rb:7:in `block (2 levels) in <top (required)>'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I cloned the repo and ran the integration specs with my sandbox credentials, and got two errors! Oops!
The text was updated successfully, but these errors were encountered: