Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
Merge pull request #74 from microservices-demo/rename-cart-to-carts
Browse files Browse the repository at this point in the history
Rename cart to carts
  • Loading branch information
vlal authored Mar 8, 2017
2 parents 1231715 + c3dabce commit 3f737f9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion api/endpoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
module.exports = {
catalogueUrl: util.format("http://catalogue%s", domain),
tagsUrl: util.format("http://catalogue%s/tags", domain),
cartsUrl: util.format("http://cart%s/carts", domain),
cartsUrl: util.format("http://carts%s/carts", domain),
ordersUrl: util.format("http://orders%s", domain),
customersUrl: util.format("http://user%s/customers", domain),
addressUrl: util.format("http://user%s/addresses", domain),
Expand Down
2 changes: 1 addition & 1 deletion test/api/endpoints_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

describe("cartsUrl", function() {
it("points to the proper endpoint", function() {
expect(endpoints.cartsUrl).to.equal("http://cart/carts");
expect(endpoints.cartsUrl).to.equal("http://carts/carts");
});
});

Expand Down
6 changes: 3 additions & 3 deletions test/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ services:
restart: always
environment:
- reschedule:on-node-failure
cart:
image: weaveworksdemos/cart
hostname: cart
carts:
image: weaveworksdemos/carts
hostname: carts
restart: always
environment:
- reschedule:on-node-failure
Expand Down

0 comments on commit 3f737f9

Please sign in to comment.