fix tests

This commit is contained in:
r888888888
2017-04-04 12:25:03 -07:00
parent 347ffb5989
commit 0b8d4105aa
19 changed files with 111 additions and 162 deletions

View File

@@ -24,8 +24,8 @@ class PostEventTest < ActiveSupport::TestCase
should "work" do
results = PostEvent.find_for_post(@post.id)
assert_equal(2, results.size)
assert(results[0].flag?)
assert(results[1].appeal?)
assert_equal("appeal", results[0].type_name)
assert_equal("flag", results[1].type_name)
end
end
end