mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 12:43:54 -06:00
Merge pull request #870 from jasonkriss/patch-1
fix small typo in search_spec
This commit is contained in:
commit
a1ff6b3f66
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user