delegate removal from favorites and updating of user fav counts to delayed job

This commit is contained in:
r888888888
2017-09-13 14:19:54 -07:00
parent 5a6cc84817
commit 1f3bafc061
4 changed files with 28 additions and 18 deletions

View File

@@ -21,6 +21,7 @@ class PostTest < ActiveSupport::TestCase
CurrentUser.user = @user
CurrentUser.ip_addr = "127.0.0.1"
mock_saved_search_service!
ImageCropper.stubs(:enabled?).returns(false)
end
def teardown