mirror of
https://github.com/zhigang1992/CocoaPods.git
synced 2026-04-30 10:22:26 +08:00
[Source] The name should be an attribute.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user