assert_include => assert_includes

This commit is contained in:
Zach Dennis 2012-12-14 09:49:54 -05:00
parent a4f17e6d45
commit ec2059e802

View file

@ -56,7 +56,7 @@ describe "ActiveRecord::Import DB-specific adapter class" do
it "should appear in the AR connection adapter class's ancestors" do it "should appear in the AR connection adapter class's ancestors" do
connection = ActiveRecord::Base.connection connection = ActiveRecord::Base.connection
import_class_name = 'ActiveRecord::Import::' + connection.class.name.demodulize import_class_name = 'ActiveRecord::Import::' + connection.class.name.demodulize
assert_include connection.class.ancestors, import_class_name.constantize assert_includes connection.class.ancestors, import_class_name.constantize
end end
end end
end end