Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding spaces after commas in hash

  • Loading branch information...
commit 31b5f5715fc6a8feaebab4e2ebb4728ae9b85937 1 parent 0ffb8e8
@benjlcox benjlcox authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  test/order_test.rb
  2. +1 −1  test/webhook_test.rb
View
2  test/order_test.rb
@@ -4,7 +4,7 @@ class OrderTest < Test::Unit::TestCase
test "create should create order" do
fake 'orders', :method => :post, :status => 201, :body => load_fixture('order')
- order = ShopifyAPI::Order.create(line_items: [{quantity:1,variant_id:39072856}],financial_status:"authorized")
+ order = ShopifyAPI::Order.create(line_items: [{quantity:1, variant_id:39072856}], financial_status:"authorized")
assert_equal 39072856, order.line_items.first.variant_id
end
View
2  test/webhook_test.rb
@@ -3,7 +3,7 @@
class WebhookTest < Test::Unit::TestCase
test 'create should create a webhook' do
fake 'webhooks', :method => :post, :status => 201, :body => load_fixture('webhook')
- webhook = ShopifyAPI::Webhook.create(address: "http://www.yoloship.it/webhook",topic: "orders/create",format: "json")
+ webhook = ShopifyAPI::Webhook.create(address: "http://www.yoloship.it/webhook", topic: "orders/create", format: "json")
assert_equal "http://www.yoloship.it/webhook", webhook.address
end
Please sign in to comment.
Something went wrong with that request. Please try again.