From c22435562de778540ff39109aa7a4a8e451ad07b Mon Sep 17 00:00:00 2001 From: Jason Kriss Date: Tue, 21 May 2013 05:56:04 -0300 Subject: [PATCH] fix small typo in search_spec --- spec/components/search_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/components/search_spec.rb b/spec/components/search_spec.rb index 9aaaa7c4d62..33cd841426f 100644 --- a/spec/components/search_spec.rb +++ b/spec/components/search_spec.rb @@ -224,7 +224,7 @@ describe Search do context 'category filter' do let(:results) { Search.query('amazing', nil, 'category') } - it "returns a user result" do + it "returns a category result" do results.detect {|r| r[:type] == 'user'}.should be_blank results.detect {|r| r[:type] == 'category'}.should be_present end