From: Jan Provaznik <[email protected]>

---
 src/spec/utils/repository_manager_spec.rb |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/spec/utils/repository_manager_spec.rb 
b/src/spec/utils/repository_manager_spec.rb
index 0d3f748..c2da511 100644
--- a/src/spec/utils/repository_manager_spec.rb
+++ b/src/spec/utils/repository_manager_spec.rb
@@ -14,9 +14,9 @@ describe RepositoryManager do
     hydra = Typhoeus::Hydra.hydra
     hydra.stub(:get, "http://pulptest/repositories/";).and_return(
       Typhoeus::Response.new(:code => 200, :body => @repositories_json))
-    hydra.stub(:get, 
"http://pulptest/repositories/jboss/packagegroups/";).and_return(
+    hydra.stub(:get, 
"http://pulptest/repositories/fedora/packagegroups/";).and_return(
       Typhoeus::Response.new(:code => 200, :body => @packagegroups_json))
-    hydra.stub(:get, 
"http://pulptest/repositories/jboss/packages/";).and_return(
+    hydra.stub(:get, 
"http://pulptest/repositories/fedora/packages/";).and_return(
       Typhoeus::Response.new(:code => 200, :body => @packages_json))
 
     @rmanager = RepositoryManager.new(:config => [{
@@ -28,12 +28,11 @@ describe RepositoryManager do
 
   it "should return a list of repositories" do
     @rmanager.repositories.should have(1).items
-    @rmanager.repositories.first.id.should eql('jboss')
+    @rmanager.repositories.first.id.should eql('fedora')
   end
 
   it "should return a list of packagegroups" do
     rep = @rmanager.repositories.first
-    rep.groups.keys.sort.should == ["JBoss Core Packages", "JBoss Drools",
-      "JBoss Social Networking Web Application"]
+    rep.groups.keys.sort.should == ["deltacloud"]
   end
 end
-- 
1.7.2.3

_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel

Reply via email to