Permalink
Browse files

Fix a test that assumes that defined?(ActiveRecord) == defined?(Activ…

…eRecord::Base)
  • Loading branch information...
1 parent a64fcc1 commit 57bae9764e45ad19dff7a879eeb46d1dffc5ca22 Carlhuda committed Mar 2, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/test/application/initializers/frameworks_test.rb
@@ -91,7 +91,7 @@ def setup
test "database middleware doesn't initialize when activerecord is not in frameworks" do
use_frameworks []
require "#{app_path}/config/environment"
- assert_nil defined?(ActiveRecord)
+ assert_nil defined?(ActiveRecord::Base)
end
end
end

0 comments on commit 57bae97

Please sign in to comment.