lib/rspec/models/unidom/order/order_spec.rb in unidom-order-1.5.2 vs lib/rspec/models/unidom/order/order_spec.rb in unidom-order-1.5.3
- old
+ new
@@ -77,9 +77,12 @@
{ aggregate_amount: '1_000_000_000' } => 1,
{ aggregate_amount: 1_000_000_000 } => 1,
{ aggregate_amount: '1_000_000_000.01' } => 1,
{ aggregate_amount: 1_000_000_000.01 } => 1
+ #it_behaves_like 'validates numericality', model_attributes, :purchase_amount
+ #it_behaves_like 'validates numericality', model_attributes, :aggregate_amount
+
order_item_1_attributes = {
ordered_id: SecureRandom.uuid,
ordered_type: 'Unidom::Order::Ordered::Mock',
placer_id: SecureRandom.uuid,
placer_type: 'Unidom::Order::Placer::Mock',