Commit 8a314713 authored by Eloy Duran's avatar Eloy Duran

Fix bug in spec that failed on Travis.

parent 7af84307
......@@ -54,7 +54,7 @@ module Pod
end
def to_s
"#<#{self.class.name} for `#{name}' with required version `#{required_version}'>"
"#<#{self.class.name} for `#{name}' with required version `#{required_version}' at `#{@pod_dir}'>"
end
alias_method :inspect, :to_s
......
......@@ -19,6 +19,7 @@ describe "Pod::Source" do
end
it "returns a specification set by top level spec name" do
(config.repos_dir + 'repo2/RestKit').rmtree
set = Pod::Source.search(Pod::Dependency.new('RestKit/Network'))
set.should == Pod::Spec::Set.new(config.repos_dir + 'repo1/RestKit')
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment