fix acceptabce test for link

This commit is contained in:
Rimian Perkins 2017-03-14 12:43:11 +11:00
parent 6b307c1a32
commit 9c72bccf3a
1 changed files with 2 additions and 2 deletions

View File

@ -2,9 +2,9 @@ import { acceptance } from 'helpers/qunit-helpers';
acceptance('Discourse Donations', { loggedIn: true });
test('Donations Link Exists', () => {
visit('/users/eviltrout');
visit('/');
andThen(() => {
ok(exists('.discourse-donations > a'), 'Link exists on profile page');
ok(exists('.list-controls .donate a'), 'Link exists on profile page');
});
});