From 97e4497cc83336dfaa0d8c7136675b195cfc5fc5 Mon Sep 17 00:00:00 2001 From: Rimian Perkins Date: Fri, 24 Feb 2017 13:09:27 +1100 Subject: [PATCH] acceptance test link --- .../templates/connectors/user-profile-primary/link.hbs | 4 ++-- ...scourse-payments-test.es6 => discourse-donations-test.es6} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename test/javascripts/acceptance/{discourse-payments-test.es6 => discourse-donations-test.es6} (59%) diff --git a/assets/javascripts/discourse/templates/connectors/user-profile-primary/link.hbs b/assets/javascripts/discourse/templates/connectors/user-profile-primary/link.hbs index 6c4e8b2..8dc3f75 100644 --- a/assets/javascripts/discourse/templates/connectors/user-profile-primary/link.hbs +++ b/assets/javascripts/discourse/templates/connectors/user-profile-primary/link.hbs @@ -1,4 +1,4 @@ -
- Payments page +
+ Donate
diff --git a/test/javascripts/acceptance/discourse-payments-test.es6 b/test/javascripts/acceptance/discourse-donations-test.es6 similarity index 59% rename from test/javascripts/acceptance/discourse-payments-test.es6 rename to test/javascripts/acceptance/discourse-donations-test.es6 index 4ae14c6..17ed0e4 100644 --- a/test/javascripts/acceptance/discourse-payments-test.es6 +++ b/test/javascripts/acceptance/discourse-donations-test.es6 @@ -1,10 +1,10 @@ import { acceptance } from 'helpers/qunit-helpers'; acceptance('Discourse Donations', { loggedIn: true }); -test('Payments Link Exists', () => { +test('Donations Link Exists', () => { visit('/users/eviltrout'); andThen(() => { - ok(exists('.discourse-payments > a'), 'Link exists on profile page'); + ok(exists('.discourse-donations > a'), 'Link exists on profile page'); }); });