assert_include => assert_includes
This commit is contained in:
parent
a4f17e6d45
commit
ec2059e802
|
@ -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
|
Loading…
Reference in a new issue