diff --git a/spec/helpers/shared_helper_spec.rb b/spec/helpers/shared_helper_spec.rb index d1d99c331f..de56a1e4b5 100644 --- a/spec/helpers/shared_helper_spec.rb +++ b/spec/helpers/shared_helper_spec.rb @@ -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 diff --git a/spec/javascripts/unit/darkswarm/services/taxon_spec.js.coffee b/spec/javascripts/unit/darkswarm/services/taxon_spec.js.coffee index b05c82a13d..d522eda28d 100644 --- a/spec/javascripts/unit/darkswarm/services/taxon_spec.js.coffee +++ b/spec/javascripts/unit/darkswarm/services/taxon_spec.js.coffee @@ -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] diff --git a/spec/models/distributor_shipping_method_spec.rb b/spec/models/distributor_shipping_method_spec.rb deleted file mode 100644 index bd8d7d2973..0000000000 --- a/spec/models/distributor_shipping_method_spec.rb +++ /dev/null @@ -1,5 +0,0 @@ -require 'spec_helper' - -describe DistributorShippingMethod do - pending "add some examples to (or delete) #{__FILE__}" -end