mirror of
https://github.com/discourse/discourse.git
synced 2025-04-09 22:10:57 +08:00
fix broken spec
This commit is contained in:
parent
69e418facf
commit
12f417a378
@ -143,8 +143,6 @@ describe Search do
|
|||||||
r[:type] == "topic"
|
r[:type] == "topic"
|
||||||
end[:results]
|
end[:results]
|
||||||
|
|
||||||
results.find{|r| r[:title].include? 'birds'}.should_not be_nil
|
|
||||||
|
|
||||||
results.map{|r| r[:id]}.should == [
|
results.map{|r| r[:id]}.should == [
|
||||||
post1.topic_id,
|
post1.topic_id,
|
||||||
"_#{post2.id}",
|
"_#{post2.id}",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user