spec/models/order_spec.rb in patch_ruby-1.9.0 vs spec/models/order_spec.rb in patch_ruby-1.10.0
- old
+ new
@@ -39,10 +39,10 @@
price_cents_usd: @instance.price_cents_usd,
patch_fee_cents_usd: @instance.patch_fee_cents_usd,
metadata: @instance.metadata
}
}
- let(:nullable_properties) { Set.new(["patch_fee_cents_usd", "price_cents_usd"]) }
+ let(:nullable_properties) { Set.new([:patch_fee_cents_usd, :price_cents_usd]) }
end
describe 'test an instance of Order' do
it 'should create an instance of Order' do
expect(@instance).to be_instance_of(Patch::Order)