Sha256: 416c7581377324ad1c166dd3a83496a63a89c5d0b8ff3762cc550ec477090d08
Contents?: true
Size: 528 Bytes
Versions: 62
Compression:
Stored size: 528 Bytes
Contents
require 'test_helper' module Workarea module Storefront module Checkout class AddressesViewModelTest < TestCase def test_shipping_address_returns_an_empty_shipping_address_when_shipping_is_nil checkout = Workarea::Checkout.new(Order.new) step = Workarea::Checkout::Steps::Addresses.new(checkout) view_model = Storefront::Checkout::AddressesViewModel.new(step) assert_instance_of(Shipping::Address, view_model.shipping_address) end end end end end
Version data entries
62 entries across 62 versions & 1 rubygems