Browse files

FIX : Setup add require 'active_support/test_case' , cause of error C…

…onstant not found Test when ran as gem (not loaded ? no scope here?)
  • Loading branch information...
1 parent a935059 commit 647797ae5f66a40f228e3a4fe2a156dcd42decdc anoiaque committed Jan 23, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/setup.rb
  2. BIN test/db/test.sqlite3
1 lib/setup.rb
@@ -14,6 +14,7 @@ def run(result,&block)
if defined?(ActiveSupport::TestCase)
+ require 'active_support/test_case' #fix constant not found Test when ran as gem under rails 3 app
module ActiveSupport
class TestCase < ::Test::Unit::TestCase
alias_method :original_run, :run
BIN test/db/test.sqlite3
Binary file not shown.

0 comments on commit 647797a

Please sign in to comment.