Sha256: bd26ae57e6c1a585042f8b9e03d99a5b563e4d6b2e91319e51818ae53e213210
Contents?: true
Size: 680 Bytes
Versions: 1
Compression:
Stored size: 680 Bytes
Contents
require File.expand_path('../spec_helper', __FILE__) describe ManifestHandler do let(:settings) do s = Settings.new s.manifest_path = File.expand_path('spec/data/') s.offline = true s end it "reads manifests" do mh = ManifestHandler.new settings mh.read_remote mh.manifests.count.should == 1 mh.libraries.count.should == 1 mh.read_remote mh.manifests.count.should == 1 mh.libraries.count.should == 1 end it "provides access to manifests" do mh = ManifestHandler.new settings mh.read_remote mh.manifest("awesomelib").class.should == Hash expect { mh.manifest("nonexisting") }.to raise_error end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
inqlude-0.0.7 | spec/manifest_handler_spec.rb |