Commit 1fcca9fe authored by Eloy Durán's avatar Eloy Durán

Merge pull request #19 from floere/master

Fixes a small typo in search result text.
parents b2589060 5bc02998
...@@ -20,8 +20,8 @@ module Pod ...@@ -20,8 +20,8 @@ module Pod
result = all.map { |s| s.search_by_name(query, full_text_search) }.flatten result = all.map { |s| s.search_by_name(query, full_text_search) }.flatten
if result.empty? if result.empty?
extra = ", summary, or description" if full_text_search extra = ", summary, or description" if full_text_search
raise(Informative, "Unable to find a pod who's name" \ raise(Informative, "Unable to find a pod with name" \
"#{extra} matches `#{query}'") "#{extra} matching `#{query}'")
end end
result result
end end
......
...@@ -64,7 +64,7 @@ describe "Pod::Command" do ...@@ -64,7 +64,7 @@ describe "Pod::Command" do
config.repos_dir = tmp_repos_path config.repos_dir = tmp_repos_path
end end
it "searches for a pod who's name matches the given query ignoring case" do it "searches for a pod with name matching the given query ignoring case" do
[ [
[ [
' s ', ' s ',
...@@ -96,7 +96,7 @@ describe "Pod::Command" do ...@@ -96,7 +96,7 @@ describe "Pod::Command" do
end end
end end
it "searches for a pod who's name, summary, or description matches the given query ignoring case" do it "searches for a pod with name, summary, or description matching the given query ignoring case" do
[ [
[ [
'systemCONfiguration', 'systemCONfiguration',
......
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