[Source] The name should be an attribute.

This commit is contained in:
Fabio Pelosin
2012-09-19 19:32:55 +02:00
parent 476558265a
commit ff7a71966c
2 changed files with 5 additions and 9 deletions

View File

@@ -38,6 +38,6 @@ describe "Pod::Source" do
end
it "return the names of the repos" do
Pod::Source.names.should == %w| repo1 repo2 |
Pod::Source.all.map(&:name).should == %w| repo1 repo2 |
end
end