Skip to content

Commit

Permalink
Removing out commented tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe-ochoa committed Mar 17, 2018
1 parent c35f89c commit dcf074a
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions spec/tasks/orders/import_orders_from_email_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -118,17 +118,6 @@
end

context 'cleans up any stray orders, shipments, and radios when the order' do
# error_email_params = {
# body: "There were 3 orders with errors. See 'error' collumn of attached csv for details."
# add_file: 'some/error/csv'
# }

# error_order_csv = CSV.parse(error_fixture)
# bad_address_params = error_order_csv[1]
# bad_frequency_params = error_order_csv[2]
# order_already_imported_params = error_order_csv[4]
# expect_any_instance_of(TaskHelper).to receive(:send_reply).with(error_email_params)

before(:each) do
expect_any_instance_of(TaskHelper).to receive(:find_unread_emails).and_return([error_email])
expect_any_instance_of(TaskHelper).to receive(:send_email)
Expand Down

0 comments on commit dcf074a

Please sign in to comment.