Permalink
Browse files

Stub out resque in tests.

  • Loading branch information...
1 parent f8870db commit 268638d09d3378bd6b3866c06a8c69bdcaf40921 @thegreatape committed Dec 3, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 test/test_helper.rb
View
@@ -2,6 +2,8 @@
require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help'
+Resque.stubs(:enqueue)
+
class ActiveSupport::TestCase
def fixture_file(path)
IO.read("#{Rails.root}/test/fixtures/#{path}")

0 comments on commit 268638d

Please sign in to comment.