Sha256: 0adec0e8d4335e7fd5b24543e973480b53f23676c8a8987305555922997d2237
Contents?: true
Size: 542 Bytes
Versions: 1
Compression:
Stored size: 542 Bytes
Contents
module Workarea decorate Storefront::CartViewModelTest, with: :flow_io do decorated { include Workarea::FlowIo::FlowFixtures } def test_subtotal_price_with_flow @order.experience = europe_experience @order.flow_subtotal_price = 10.to_m "EUR" assert_equal(10.to_m("EUR"), @view_model.subtotal_price) end def test_total_price_with_flow @order.experience = europe_experience @order.flow_total_price = 10.to_m "EUR" assert_equal(10.to_m("EUR"), @view_model.total_price) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
workarea-flow_io-1.2.1 | test/view_models/workarea/storefront/cart_view_model_test.decorator |