remove mpixel search, remove some unused indexes on posts

This commit is contained in:
r888888888
2015-01-15 17:39:59 -08:00
parent bdb5bb49da
commit 11e550c385
7 changed files with 102 additions and 123 deletions

View File

@@ -1332,8 +1332,6 @@ class PostTest < ActiveSupport::TestCase
post3 = FactoryGirl.create(:post, :rating => "e", :score => 5, :image_width => 10_000)
relation = Post.tag_match("order:id")
assert_equal(post1.id, relation.first.id)
relation = Post.tag_match("order:mpixels")
assert_equal(post3.id, relation.first.id)
relation = Post.tag_match("order:landscape")
assert_equal(post3.id, relation.first.id)
end