mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
8ef27f0590
Fixes #362 - There is no need to set the viewport on functional tests anymore unless something other than the default of 1280x1024 is desired. - There is no need to invoke `casper.run` to trigger `test.done` anymore for functional tests. - Each test works independently of the rest; registration is handled once for the lifetime of the test run and then login/logout can be invoked automatically as desired. - Mocha tests all utilize predefined, more realistic fixtures when appropriate. - Renamed old api tests that were really model tests as appropraite. - Added example api test for posts. |
||
---|---|---|
.. | ||
fixtures | ||
utils | ||
admin_spec.js | ||
api_posts_spec.js | ||
client_ghostdown_spec.js | ||
client_showdown_int_spec.js | ||
errorHandling_spec.js | ||
export_spec.js | ||
ghost_spec.js | ||
import_spec.js | ||
mail_spec.js | ||
model_permissions_spec.js | ||
model_posts_spec.js | ||
model_roles_spec.js | ||
model_settings_spec.js | ||
model_tags_spec.js | ||
model_users_spec.js | ||
permissions_spec.js | ||
plugins_spec.js | ||
server_helpers_index_spec.js | ||
shared_gfm_spec.js | ||
testUtils.js |