Skip to content

Commit

Permalink
Merge pull request #3181 from yahonda/fix_uninitialized_constant_test…
Browse files Browse the repository at this point in the history
…fixtures

Modified how to handle if ActiveRecord is defined.
  • Loading branch information
josevalim committed Sep 30, 2011
2 parents d4457dc + 44791a2 commit 926e97c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/lib/rails/test_help.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
end
end

if defined?(ActiveRecord)
if defined?(ActiveRecord::Base)
require 'active_record/test_case'

class ActiveSupport::TestCase
Expand Down

0 comments on commit 926e97c

Please sign in to comment.