fix functional tests

This commit is contained in:
r888888888
2017-11-20 16:29:59 -08:00
parent 502f1298a9
commit ba517af1db
5 changed files with 27 additions and 6 deletions

View File

@@ -130,7 +130,6 @@ class PoolsControllerTest < ActionController::TestCase
end
should "revert to a previous version" do
assert_equal(2, PoolArchive.count)
@pool.reload
version = @pool.versions.first
assert_equal([@post.id], version.post_ids)