diff --git a/test/models/project_media_8_test.rb b/test/models/project_media_8_test.rb index 4bd0e3c13..0f2c818b6 100644 --- a/test/models/project_media_8_test.rb +++ b/test/models/project_media_8_test.rb @@ -2,8 +2,11 @@ class ProjectMedia8Test < ActiveSupport::TestCase def setup - super require 'sidekiq/testing' + Sidekiq::Worker.clear_all + end + + def teardown end test ":create_tags should create tags when project media id and tags are present" do diff --git a/test/workers/generic_worker_test.rb b/test/workers/generic_worker_test.rb index 454d676c8..61c90353f 100644 --- a/test/workers/generic_worker_test.rb +++ b/test/workers/generic_worker_test.rb @@ -2,8 +2,11 @@ class GenericWorkerTest < ActiveSupport::TestCase def setup - super require 'sidekiq/testing' + Sidekiq::Worker.clear_all + end + + def teardown end test "should schedule a job for a method that takes a hash: Tag creation" do