Code cleanups

This commit is contained in:
Rohan Mitchell
2014-07-04 11:54:21 +10:00
parent da4a00c720
commit 206275b794
3 changed files with 3 additions and 8 deletions

View File

@@ -32,8 +32,8 @@ describe SharedHelper do
end
it "injects enterprises" do
helper.inject_enterprises().should match enterprise.name
helper.inject_enterprises().should match enterprise.facebook
helper.inject_enterprises.should match enterprise.name
helper.inject_enterprises.should match enterprise.facebook
end
it "injects taxons" do

View File

@@ -12,5 +12,5 @@ describe "Taxons service", ->
inject ($injector)->
Taxons = $injector.get("Taxons")
it "caches taxons in an id-referenced hash", ->
it "indexes taxons by id", ->
expect(Taxons.taxons_by_id[1]).toBe taxons[0]

View File

@@ -1,5 +0,0 @@
require 'spec_helper'
describe DistributorShippingMethod do
pending "add some examples to (or delete) #{__FILE__}"
end