Sha256: 55cb676665aa030ad7870cbdb2e3a3c04a85569697dbbe2fc0134f876ab96a25

Contents?: true

Size: 726 Bytes

Versions: 3

Compression:

Stored size: 726 Bytes

Contents

class ShopAddressesDataset < Dataset::Base
  def load
    
    # TODO Investigate why inflectors are breaking here
    
    create_record :shop_addresss, :billing,
      :name   => 'Billing Address',
      :email  => 'billing@address.com',
      :unit   => 'a',
      :street => '1 Bill Street',
      :city   => 'Billvilles',
      :state  => 'BI',
      :country=> 'Billington',
      :postcode=> '1234'
      
    create_record :shop_addresss, :shipping,
      :name   => 'Shipping Address',
      :email  => 'shipping@address.com',
      :unit   => 'b',
      :street => '2 Ship Street',
      :city   => 'Shipvilles',
      :state  => 'SH',
      :country=> 'Shippington',
      :postcode=> '5678'
            
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
radiant-shop-extension-0.10.0 spec/datasets/shop_addresses.rb
radiant-shop-extension-0.9.3 spec/datasets/shop_addresses.rb
radiant-shop-extension-0.9.2 spec/datasets/shop_addresses.rb