Skip to content

Commit

Permalink
Fixing up squarespace import test
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe-ochoa committed Mar 17, 2018
1 parent dcf074a commit f4116be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/tasks/orders/import_orders_from_squarespace_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

context 'from squarespace' do
it 'import all pendings orders' do
ENV['SEND_IMPORT_NOTIFICATION_EMAILS_SQUARESPACE'] = 'true'
api_key = ENV['SQUARESPACE_API_KEY']
app_name = ENV['SQUARESPACE_APP_NAME']

Expand All @@ -21,7 +22,6 @@
.and_return(stub_client)

expect(stub_client).to receive(:get_orders).with('pending').and_return(stub_orders)
expect_any_instance_of(TaskHelper).to receive(:notify_of_import).with('squarespace', [])

squarespace_order_fixture['result'].each do |test_order|
shipping_address = test_order['shippingAddress']
Expand Down

0 comments on commit f4116be

Please sign in to comment.