fix tests

This commit is contained in:
Albert Yi
2018-05-09 11:56:01 -07:00
parent 81d94dbab9
commit 99012ff342
13 changed files with 33 additions and 12 deletions

View File

@@ -44,6 +44,7 @@ class PoolElementsControllerTest < ActionDispatch::IntegrationTest
end
should "do nothing if the post is not a member of the pool" do
@pool.reload
as_user do
@pool.remove!(@post)
end