From 6e71dbc234fabd802af70fbe3d90b94b8e4506a0 Mon Sep 17 00:00:00 2001 From: zinyando Date: Tue, 24 May 2016 18:47:50 +0200 Subject: [PATCH] Move anon tests into separate files --- app/tests/acceptance/index-test.js | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 app/tests/acceptance/index-test.js diff --git a/app/tests/acceptance/index-test.js b/app/tests/acceptance/index-test.js deleted file mode 100644 index 1a7565fa..00000000 --- a/app/tests/acceptance/index-test.js +++ /dev/null @@ -1,29 +0,0 @@ -import { test, skip } from 'qunit'; -import moduleForAcceptance from 'documize/tests/helpers/module-for-acceptance'; -// import stubSession from '../helpers/stub-session'; - -moduleForAcceptance('Acceptance | /'); - -skip('visiting / when not authenticated and with { allowAnonymousAccess: false } takes user to login', function(assert) { - visit('/'); - - andThen(function() { - assert.equal(currentURL(), '/auth/login'); - }); -}); - -skip('visiting / when not authenticated and with { allowAnonymousAccess: true } takes user to folder view', function(assert) { - visit('/'); - - andThen(function() { - assert.equal(currentURL(), '/s/VzMuyEw_3WqiafcG/my-project'); - }); -}); - -skip('visiting / when authenticated and with { allowAnonymousAccess: true } takes user to dashboard', function(assert) { - userLogin(); - - andThen(function() { - assert.equal(currentURL(), '/s/VzMuyEw_3WqiafcG/my-project'); - }); -});