Minor refactoring from code review with Rohan

This commit is contained in:
Will Marshall
2014-06-19 11:41:24 +10:00
parent c02c7cf7ca
commit b9561ecf20
18 changed files with 19 additions and 53 deletions

View File

@@ -6,19 +6,19 @@ describe "Hubs service", ->
id: 2
active: false
orders_close_at: new Date()
enterprise_type: "hub"
is_distributor: true
}
{
id: 3
active: false
orders_close_at: new Date()
enterprise_type: "hub"
is_distributor: true
}
{
id: 1
active: true
orders_close_at: new Date()
enterprise_type: "hub"
is_distributor: true
}
]

View File

@@ -2,7 +2,7 @@ describe "Producers service", ->
Producers = null
Enterprises = null
enterprises = [
{enterprise_type: "producer"}
{is_primary_producer: true}
]
beforeEach ->