mirror of
https://github.com/discourse/discourse-subscriptions.git
synced 2025-07-07 15:02:23 +00:00
rename to "payments"
This commit is contained in:
parent
ed828a228b
commit
3f32c212d8
@ -1,6 +1,6 @@
|
||||
export default {
|
||||
resource: 'user',
|
||||
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
|
||||
# about: Integrating Discourse with Stripe
|
||||
# version: 0.3.2
|
||||
# version: 1.0.0
|
||||
# authors: Rimian Perkins
|
||||
# url: https://github.com/choiceaustralia/choice-discourse
|
||||
|
||||
|
@ -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');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user