mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Code cleanups
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe DistributorShippingMethod do
|
||||
pending "add some examples to (or delete) #{__FILE__}"
|
||||
end
|
||||
Reference in New Issue
Block a user