<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -3,10 +3,10 @@ Feature: Manage repositories
   I should be able to manage them
 
 Scenario: List repositores
-  Given there is 1 repository 
+  Given there are 2 repositories 
   When I go to repositories home
-  Then I should see 1 row in the repository table
-  And I should see the &quot;central&quot; repository with URL &quot;http://repo1.maven.org/maven2/&quot; and name &quot;Maven 2 central repository&quot;
+  Then I should see 2 row in the repository table
+  And I should see the &quot;repoId1&quot; repository with URL &quot;http://repo1.com&quot; and name &quot;repoName1&quot;
   And I should see a &quot;Add repo&quot; link
   And every repo should have a &quot;delete&quot; link
   And every repo should have a &quot;edit&quot; link
\ No newline at end of file</diff>
      <filename>features/manage_repositories.feature</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,5 @@
-Then /^I should see 1 row in the repository table$/ do
-  $browser.table(:class, &quot;repositories&quot;).tbody(:index, 1).length.should == 1
+Then /^I should see (\d+) row in the repository table$/ do |count|
+  $browser.table(:class, &quot;repositories&quot;).tbody(:index, 1).length.should == count.to_i
 end
 
 Then /^I should see the &quot;([^\&quot;]*)&quot; repository with URL &quot;([^\&quot;]*)&quot; and name &quot;([^\&quot;]*)&quot;$/ do |repo_id, url, name|</diff>
      <filename>features/step_definitions/manage_repositories_steps.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,19 @@
+Factory.sequence :repo_identifier do |n|
+  &quot;repoId#{n}&quot;
+end
+
+Factory.sequence :repo_name do |n|
+  &quot;repoName#{n}&quot;
+end
+
+Factory.sequence :repo_url do |n|
+  &quot;http://repo#{n}.com&quot;
+end
+
 Factory.define :repository do |r|
-  r.identifier &quot;central&quot;
-  r.name &quot;Maven 2 central repository&quot;
-  r.url &quot;http://repo1.maven.org/maven2/&quot;
+  r.identifier { Factory.next(:repo_identifier) }
+  r.name { Factory.next(:repo_name) }
+  r.url { Factory.next(:repo_url) }
 end
 
 Factory.define :artifact do |a|
@@ -22,5 +34,5 @@ end
 
 Factory.define :dependency do |d|
   d.association :artifact, :factory =&gt; :artifact
-  d.association :dependent, :factory =&gt; :dependency_artifact 
+  d.association :dependent, :factory =&gt; :dependency_artifact
 end
\ No newline at end of file</diff>
      <filename>spec/factories/factory.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>76f331735fe70e7ac5c2194b3b4d474699c148a0</id>
    </parent>
  </parents>
  <author>
    <name>Julio Arias</name>
    <email>julio.arias@fresisoft.com</email>
  </author>
  <url>http://github.com/jarias/mvnsearch/commit/717dce3948352e30682ae77d9e7b618c1947517d</url>
  <id>717dce3948352e30682ae77d9e7b618c1947517d</id>
  <committed-date>2009-09-29T17:36:28-07:00</committed-date>
  <authored-date>2009-09-29T17:36:28-07:00</authored-date>
  <message>Change index feature to be able ton handle multiple repositories</message>
  <tree>8af7438c637e28329d4e94f7e3cce844370a50e0</tree>
  <committer>
    <name>Julio Arias</name>
    <email>julio.arias@fresisoft.com</email>
  </committer>
</commit>
