acceptacnce test verifies page renders

This commit is contained in:
Rimian Perkins 2017-02-13 11:35:59 +11:00
parent f5cf206bce
commit 800aef7b3f
3 changed files with 12 additions and 9 deletions

View File

@ -1 +1,3 @@
{{email}} <div class="payments">
{{username}}
</div>

1
jsapp Symbolic link
View File

@ -0,0 +1 @@
assets/javascripts/discourse

View File

@ -1,11 +1,11 @@
import { acceptance } from 'helpers/qunit-helpers'; import { acceptance } from 'helpers/qunit-helpers';
acceptance('Choice Discourse', { loggedIn: true }); acceptance('Choice Discourse', { loggedIn: true });
// test('Choice Page Exists', () => { test('Choice Page Exists', () => {
// visit('/user'); visit('/users/eviltrout/choice');
//
// andThen(() => { andThen(() => {
// ok(exists('h1'), 'Choice'); ok(exists('h1'), 'Choice');
// ok(exists('form'), 'Something'); ok(exists('.payments'), 'eviltrout');
// }); });
// }); });