Skip to content

Commit 35c3ac3

Browse files
committed
[Rail51] ActiveRecord::ConnectionAdapters::SchemaCacheTest#test_yaml_loads_5_1_dump
1 parent 27520c9 commit 35c3ac3

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

test/cases/coerced_tests.rb

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -862,3 +862,19 @@ class StatementCacheTest < ActiveRecord::TestCase
862862
coerce_tests! :test_find_does_not_use_statement_cache_if_table_name_is_changed
863863
end
864864
end
865+
866+
867+
868+
869+
module ActiveRecord
870+
module ConnectionAdapters
871+
class SchemaCacheTest < ActiveRecord::TestCase
872+
private
873+
# We need to give the full path for this to work.
874+
def schema_dump_path
875+
File.join ARTest::SQLServer.root_activerecord, 'test/assets/schema_dump_5_1.yml'
876+
end
877+
end
878+
end
879+
end
880+

0 commit comments

Comments
 (0)