lib/bill_hicks/order.rb in bill_hicks-1.0.0 vs lib/bill_hicks/order.rb in bill_hicks-1.1.0

- old
+ new

@@ -51,10 +51,10 @@ raise BillHicks::InvalidOrder.new("Must call #add_header before submitting") if @header.nil? raise BillHicks::InvalidOrder.new("Must add items with #add_item before submitting") if @items.empty? @order_file = Tempfile.new(filename) begin - CSV.open(@order_file.path, 'w+') do |csv| + CSV.open(@order_file.path, 'w+', col_sep: "\t") do |csv| csv << header_names csv << header_fields csv << items_header @items.each do |item| csv << item_fields(item)