rails--rails/railties/test
utilum 74982a1be5 Fix test to allow IF NOT EXISTS in structure:dump
Before:

```
$ ruby -v
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]

$ ruby -w  -Itest -Ilib -I../activesupport/lib -I../actionpack/lib -I../actionview/lib -I../activemodel/lib test/application/rake/multi_dbs_test.rb
Run options: --seed 28744

F

Failure:
ApplicationTests::RakeTests::RakeMultiDbsTest#test_db:migrate_and_db:structure:dump_and_db:structure:load_works_on_all_databases [test/application/rake/multi_dbs_test.rb:70]:
Expected /CREATE TABLE \"books\"/ to match "CREATE TABLE IF NOT EXISTS \"schema_migrations\" (\"version\" varchar NOT NULL PRIMARY KEY);\nCREATE TABLE IF NOT EXISTS \"ar_internal_metadata\" (\"key\" varchar NOT NULL PRIMARY KEY, \"value\" varchar, \"created_at\" datetime NOT NULL, \"updated_at\" datetime NOT NULL);\nCREATE TABLE IF NOT EXISTS \"books\" (\"id\" integer PRIMARY KEY AUTOINCREMENT NOT NULL, \"title\" varchar, \"created_at\" datetime NOT NULL, \"updated_at\" datetime NOT NULL);\nCREATE TABLE sqlite_sequence(name,seq);\nINSERT INTO \"schema_migrations\" (version) VALUES\n('20180416201805');\n\n\n".
```
2018-04-16 22:19:07 +02:00
..
application Fix test to allow IF NOT EXISTS in structure:dump 2018-04-16 22:19:07 +02:00
command Use `did_you_mean` spell checker for option suggestions 2018-03-23 11:36:03 +02:00
commands Deprecate support for using `HOST` environment to specify server IP (#32540) 2018-04-16 14:35:13 +09:00
configuration Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
engine Make automatically synchronize test schema work inside engine 2017-10-02 15:50:58 +09:00
fixtures/lib Remove unused fixtures 2017-09-26 07:45:42 +09:00
generators Fix `test_config_another_database` failure 2018-03-22 03:20:04 +09:00
isolation Add multidb application test 2018-04-09 13:08:05 -04:00
minitest rubocop single space after assignment 2018-02-19 11:23:47 +05:30
railties Refactor migration to move migrations paths to connection 2018-01-18 08:55:03 -05:00
test_unit Need to use `klass` to get the class name of the test result 2018-01-03 17:37:15 +09:00
abstract_unit.rb Add credentials using a generic EncryptedConfiguration class (#30067) 2017-09-11 20:21:20 +02:00
app_loader_test.rb Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
backtrace_cleaner_test.rb Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
code_statistics_calculator_test.rb Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
code_statistics_test.rb Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
console_helpers.rb Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
engine_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
env_helpers.rb Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
generators_test.rb Use `did_you_mean` spell checker for option suggestions 2018-03-23 11:36:03 +02:00
initializable_test.rb Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
json_params_parsing_test.rb Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
path_generation_test.rb Add credentials using a generic EncryptedConfiguration class (#30067) 2017-09-11 20:21:20 +02:00
paths_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
rack_logger_test.rb Fix test added in #32444 2018-04-06 14:00:13 +03:00
rails_info_controller_test.rb Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
rails_info_test.rb Remove needless setup from `InfoTest` 2017-10-07 11:56:43 +09:00
secrets_test.rb Deprecate encrypted secrets in favor of credentials. 2017-11-12 17:50:09 +01:00
version_test.rb Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00