spec/unit/berkshelf/api/cache_builder/worker_spec.rb in berkshelf-api-1.4.0 vs spec/unit/berkshelf/api/cache_builder/worker_spec.rb in berkshelf-api-2.0.0

- old
+ new

@@ -2,10 +2,10 @@ describe Berkshelf::API::CacheBuilder::Worker do describe "ClassMethods" do describe "::[]" do it "returns the class of the registered worker" do - expect(described_class["opscode"]).to eql(Berkshelf::API::CacheBuilder::Worker::Opscode) + expect(described_class["supermarket"]).to eql(Berkshelf::API::CacheBuilder::Worker::Supermarket) end end describe "::register" do it "adds the item to the Hash of types" do