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

Version Path
workarea-storefront-3.5.27 test/view_models/workarea/storefront/checkout/addresses_view_model_test.rb
workarea-storefront-3.5.26 test/view_models/workarea/storefront/checkout/addresses_view_model_test.rb
workarea-storefront-3.4.45 test/view_models/workarea/storefront/checkout/addresses_view_model_test.rb
workarea-storefront-3.5.25 test/view_models/workarea/storefront/checkout/addresses_view_model_test.rb
workarea-storefront-3.5.23 test/view_models/workarea/storefront/checkout/addresses_view_model_test.rb
workarea-storefront-3.4.44 test/view_models/workarea/storefront/checkout/addresses_view_model_test.rb
workarea-storefront-3.5.22 test/view_models/workarea/storefront/checkout/addresses_view_model_test.rb
workarea-storefront-3.4.43 test/view_models/workarea/storefront/checkout/addresses_view_model_test.rb
workarea-storefront-3.5.21 test/view_models/workarea/storefront/checkout/addresses_view_model_test.rb
workarea-storefront-3.4.42 test/view_models/workarea/storefront/checkout/addresses_view_model_test.rb
workarea-storefront-3.5.20 test/view_models/workarea/storefront/checkout/addresses_view_model_test.rb
workarea-storefront-3.4.41 test/view_models/workarea/storefront/checkout/addresses_view_model_test.rb
workarea-storefront-3.5.19 test/view_models/workarea/storefront/checkout/addresses_view_model_test.rb
workarea-storefront-3.4.40 test/view_models/workarea/storefront/checkout/addresses_view_model_test.rb
workarea-storefront-3.5.18 test/view_models/workarea/storefront/checkout/addresses_view_model_test.rb
workarea-storefront-3.4.39 test/view_models/workarea/storefront/checkout/addresses_view_model_test.rb
workarea-storefront-3.5.17 test/view_models/workarea/storefront/checkout/addresses_view_model_test.rb
workarea-storefront-3.4.38 test/view_models/workarea/storefront/checkout/addresses_view_model_test.rb
workarea-storefront-3.5.16 test/view_models/workarea/storefront/checkout/addresses_view_model_test.rb
workarea-storefront-3.4.37 test/view_models/workarea/storefront/checkout/addresses_view_model_test.rb