This commit is contained in:
r888888888
2014-04-14 14:32:01 -07:00
parent 7a61048d69
commit fad0ab7c93
105 changed files with 610 additions and 485 deletions

View File

@@ -1169,7 +1169,7 @@ class PostTest < ActiveSupport::TestCase
post3.add_pool!(pool2)
relation = Post.tag_match("pool:test*")
assert_equal(2, relation.count)
assert_equal([post3.id, post1.id], relation.all.map!(&:id))
assert_equal([post3.id, post1.id], relation.all.map(&:id))
end
should "return posts for the <user> metatag" do