mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
fix small typo in search_spec
This commit is contained in:
parent
b5eff93a9d
commit
c22435562d
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue