Sha256: ba322f5db7c514049ff588ea66bc8dc38a3545893a666f3cc48a5488f83164a4

Contents?: true

Size: 508 Bytes

Versions: 1

Compression:

Stored size: 508 Bytes

Contents

module CheckoutHelper
  def fill_in_address(address)
    fill_in "First Name", with: address.firstname
    fill_in "Last Name", with: address.lastname
    fill_in "Street Address", with: address.address1
    fill_in "City", with: address.city
    select address.country.name, from: "Country"
    select address.state.name, from: "order_bill_address_attributes_state_id" # until spree/address/_form.html.erb is fixed
    fill_in "Zip", with: address.zipcode
    fill_in "Phone", with: address.phone
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_active_shipping-1.0.0 spec/support/checkout_helper.rb