Ghost/core/test
Katharina Irrgang fd0a08ae8c 🎨 make sqlite filename absolute (#7585)
no issue

- add tests for makePathsAbsolute
- add support for windows paths

When Ghost-CLI inits the database of the current GhostVersion (in /current), then it uses knex-migrator to do that.
Knex migrator is reading the .knex-migrator file of the current Ghost version. This returns a relative path to the database location.
The problem: knex-migrator will init the database in the root folder of Ghost-CLI /content/data instead of /current/content . And when you start Ghost (ghost start), it always complains that
that database is not initialised, because it expects the database in /current/content...

* 🎨  move config_spec to config/index_spec
- add one more test case
2016-10-18 09:04:44 +01:00
..
functional 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
integration 🎨 more clean code in User Model (#7572) 2016-10-14 18:24:38 +01:00
unit 🎨 make sqlite filename absolute (#7585) 2016-10-18 09:04:44 +01:00
utils knex migrator (#7565) 2016-10-17 13:50:29 +01:00
.jshintrc Remove jshint rules that are no longer supported 2015-01-23 21:00:37 +00:00