rename to "payments"

This commit is contained in:
Rimian Perkins 2017-02-14 10:11:10 +11:00
parent ed828a228b
commit 3f32c212d8
6 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
export default {
resource: 'user',
map() {
this.route('choice');
this.route('payments');
}
};

View File

@ -1,2 +1,2 @@
<a href="/users/{{model.username}}/choice">Choice payments page</a>
<a href="/users/{{model.username}}/payments">Payments page</a>

View File

@ -1,6 +1,6 @@
# name: choice-plugin
# about: Integrating Discourse with Stripe
# version: 0.3.2
# version: 1.0.0
# authors: Rimian Perkins
# url: https://github.com/choiceaustralia/choice-discourse

View File

@ -1,8 +1,8 @@
import { acceptance } from 'helpers/qunit-helpers';
acceptance('Choice Discourse', { loggedIn: true });
acceptance('Discourse Payments', { loggedIn: true });
test('Choice Page Exists', () => {
visit('/users/eviltrout/choice');
visit('/users/eviltrout/payments');
andThen(() => {
ok(exists('h1'), 'Heading exists');
@ -11,7 +11,7 @@ test('Choice Page Exists', () => {
});
test('Choice Page response happens', () => {
visit('/users/eviltrout/choice');
visit('/users/eviltrout/payments');
click('.choice-btn');