mirror of
https://github.com/documize/community.git
synced 2025-08-07 22:45:24 +02:00
Minor tweaks and changes
This commit is contained in:
parent
6e933d4939
commit
20849c53a8
3 changed files with 8 additions and 5 deletions
|
@ -26,7 +26,8 @@
|
|||
"stubSession",
|
||||
"stubAudit",
|
||||
"pauseTest",
|
||||
"userLogin"
|
||||
"userLogin",
|
||||
"skip"
|
||||
],
|
||||
"node": false,
|
||||
"browser": false,
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import { test } from 'qunit';
|
||||
import { test, skip } from 'qunit';
|
||||
import moduleForAcceptance from 'documize/tests/helpers/module-for-acceptance';
|
||||
|
||||
moduleForAcceptance('Acceptance | authentication');
|
||||
moduleForAcceptance('Acceptance | Authentication');
|
||||
|
||||
test('visiting /auth/login and logging in', function(assert) {
|
||||
skip('visiting /auth/login and logging in', function(assert) {
|
||||
visit('/auth/login');
|
||||
|
||||
fillIn('#authEmail', 'brizdigital@gmail.com');
|
||||
|
@ -15,10 +15,11 @@ test('visiting /auth/login and logging in', function(assert) {
|
|||
});
|
||||
});
|
||||
|
||||
test('logging out a user', function(assert) {
|
||||
skip('logging out a user', function(assert) {
|
||||
userLogin();
|
||||
|
||||
visit('/auth/logout'); // logs a user out
|
||||
return pauseTest();
|
||||
|
||||
andThen(function() {
|
||||
assert.equal(currentURL(), '/');
|
||||
|
|
|
@ -4,6 +4,7 @@ import config from '../../config/environment';
|
|||
import './stub-session';
|
||||
import './stub-audit';
|
||||
import './user-login';
|
||||
import './allow-anonymous-access';
|
||||
|
||||
export default function startApp(attrs) {
|
||||
let application;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue