diff --git a/spec/support/helpers.rb b/spec/support/helpers.rb
index 521c745af65..aabf9f97686 100644
--- a/spec/support/helpers.rb
+++ b/spec/support/helpers.rb
@@ -181,9 +181,4 @@ module Helpers
     `cd #{repo_dir} && git commit -am 'first commit'`
     repo_dir
   end
-
-  class StubbedJob
-    def initialize; end
-    def perform(args); end
-  end
 end