Ghost/core/test/unit
William Dibbern 8ef27f0590 Refactored tests
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.
2013-10-07 21:05:25 -05:00
..
fixtures Refactored tests 2013-10-07 21:05:25 -05:00
utils Refactored tests 2013-10-07 21:05:25 -05:00
admin_spec.js Merge branch '0.3.1-wip' 2013-09-27 17:22:55 +01:00
api_posts_spec.js Refactored tests 2013-10-07 21:05:25 -05:00
client_ghostdown_spec.js Save image uploads in the editor 2013-09-16 18:08:49 +01:00
client_showdown_int_spec.js No autolinking inside of code blocks 2013-09-27 11:35:44 +01:00
errorHandling_spec.js 500 Series Error Handling & Stack Traces 2013-09-19 13:01:20 +10:00
export_spec.js One exporter to rule them all 2013-09-15 17:04:42 +01:00
ghost_spec.js Refactored tests 2013-10-07 21:05:25 -05:00
import_spec.js Handle duplicate tags on import 2013-09-25 11:30:59 +01:00
mail_spec.js Clean up config (drop 'env') 2013-09-14 13:14:00 +01:00
model_permissions_spec.js Refactored tests 2013-10-07 21:05:25 -05:00
model_posts_spec.js Refactored tests 2013-10-07 21:05:25 -05:00
model_roles_spec.js Refactored tests 2013-10-07 21:05:25 -05:00
model_settings_spec.js Refactored tests 2013-10-07 21:05:25 -05:00
model_tags_spec.js Refactored tests 2013-10-07 21:05:25 -05:00
model_users_spec.js Refactored tests 2013-10-07 21:05:25 -05:00
permissions_spec.js Refactored tests 2013-10-07 21:05:25 -05:00
plugins_spec.js Removing FancyFirstChar plugin 2013-09-18 19:49:10 +01:00
server_helpers_index_spec.js Trim version number to major and minor numbers only in meta tag 2013-09-26 15:00:05 +01:00
shared_gfm_spec.js Don't output image tag for empty source 2013-09-27 11:30:41 +01:00
testUtils.js Refactored tests 2013-10-07 21:05:25 -05:00