Permalink
Browse files

Adding spaces after commas in hash

  • Loading branch information...
benjlcox committed Mar 10, 2014
1 parent 0ffb8e8 commit 31b5f5715fc6a8feaebab4e2ebb4728ae9b85937
Showing with 2 additions and 2 deletions.
  1. +1 −1 test/order_test.rb
  2. +1 −1 test/webhook_test.rb
View
@@ -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
@@ -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

0 comments on commit 31b5f57

Please sign in to comment.