Sha256: cde5a2a6223aa85b9cf5e124789c773ba2827971ee6ce528059475fd2aab20d7

Contents?: true

Size: 345 Bytes

Versions: 4

Compression:

Stored size: 345 Bytes

Contents

require_relative '../spec_helper'

class AddressSpec < Skr::TestCase


    it "can be converted to plain string" do
        address = skr_address(:hg_billing).to_s(include: [:email,:phone])
        assert_equal(address, "Hansel and Gretel\n499 Julianne Radial\nSouth Timmyville WI, 38200\nschuyler@krajcik.name\n379-772-4947 x945")
    end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
stockor-0.5.0 spec/server/models/address_spec.rb
stockor-0.4.0 spec/server/models/address_spec.rb
stockor-0.3.0 spec/server/models/address_spec.rb
stockor-0.2 spec/server/models/address_spec.rb