ACK
On 10/14/2010 04:33 PM, [email protected] wrote: > From: Jan Provaznik<[email protected]> > > Is obsolete because of xmls will be downloaded with rake task. > --- > src/spec/utils/repository_manager_spec.rb | 10 ---------- > 1 files changed, 0 insertions(+), 10 deletions(-) > > diff --git a/src/spec/utils/repository_manager_spec.rb > b/src/spec/utils/repository_manager_spec.rb > index 5f7d9d4..0d3f748 100644 > --- a/src/spec/utils/repository_manager_spec.rb > +++ b/src/spec/utils/repository_manager_spec.rb > @@ -18,8 +18,6 @@ describe RepositoryManager do > Typhoeus::Response.new(:code => 200, :body => @packagegroups_json)) > hydra.stub(:get, > "http://pulptest/repositories/jboss/packages/").and_return( > Typhoeus::Response.new(:code => 200, :body => @packages_json)) > - hydra.stub(:get, "http://nonexisting.repo/").and_return( > - Typhoeus::Response.new(:code => 404)) > > @rmanager = RepositoryManager.new(:config => [{ > 'baseurl' => 'http://pulptest', > @@ -38,12 +36,4 @@ describe RepositoryManager do > rep.groups.keys.sort.should == ["JBoss Core Packages", "JBoss Drools", > "JBoss Social Networking Web Application"] > end > - > - it "should raise exception when downloading of repomd fails" do > - @rmanager = RepositoryManager.new(:config => [{ > - 'baseurl' => 'http://nonexisting.repo/', > - 'type' => 'xml', > - }]) > - lambda { @rmanager.all_groups}.should raise_error > - end > end _______________________________________________ deltacloud-devel mailing list [email protected] https://fedorahosted.org/mailman/listinfo/deltacloud-devel
