rename to "payments"
This commit is contained in:
parent
ed828a228b
commit
3f32c212d8
|
@ -1,6 +1,6 @@
|
||||||
export default {
|
export default {
|
||||||
resource: 'user',
|
resource: 'user',
|
||||||
map() {
|
map() {
|
||||||
this.route('choice');
|
this.route('payments');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
|
|
||||||
<a href="/users/{{model.username}}/choice">Choice payments page</a>
|
<a href="/users/{{model.username}}/payments">Payments page</a>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# name: choice-plugin
|
# name: choice-plugin
|
||||||
# about: Integrating Discourse with Stripe
|
# about: Integrating Discourse with Stripe
|
||||||
# version: 0.3.2
|
# version: 1.0.0
|
||||||
# authors: Rimian Perkins
|
# authors: Rimian Perkins
|
||||||
# url: https://github.com/choiceaustralia/choice-discourse
|
# url: https://github.com/choiceaustralia/choice-discourse
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import { acceptance } from 'helpers/qunit-helpers';
|
import { acceptance } from 'helpers/qunit-helpers';
|
||||||
acceptance('Choice Discourse', { loggedIn: true });
|
acceptance('Discourse Payments', { loggedIn: true });
|
||||||
|
|
||||||
test('Choice Page Exists', () => {
|
test('Choice Page Exists', () => {
|
||||||
visit('/users/eviltrout/choice');
|
visit('/users/eviltrout/payments');
|
||||||
|
|
||||||
andThen(() => {
|
andThen(() => {
|
||||||
ok(exists('h1'), 'Heading exists');
|
ok(exists('h1'), 'Heading exists');
|
||||||
|
@ -11,7 +11,7 @@ test('Choice Page Exists', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
test('Choice Page response happens', () => {
|
test('Choice Page response happens', () => {
|
||||||
visit('/users/eviltrout/choice');
|
visit('/users/eviltrout/payments');
|
||||||
|
|
||||||
click('.choice-btn');
|
click('.choice-btn');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue