diff --git a/assets/javascripts/discourse/choice-discourse-route-map.js.es6 b/assets/javascripts/discourse/choice-discourse-route-map.js.es6 index 874ea87..168646c 100644 --- a/assets/javascripts/discourse/choice-discourse-route-map.js.es6 +++ b/assets/javascripts/discourse/choice-discourse-route-map.js.es6 @@ -1,6 +1,6 @@ export default { resource: 'user', map() { - this.route('choice'); + this.route('payments'); } }; diff --git a/assets/javascripts/discourse/controllers/user-choice.js.es6 b/assets/javascripts/discourse/controllers/user-payments.js.es6 similarity index 100% rename from assets/javascripts/discourse/controllers/user-choice.js.es6 rename to assets/javascripts/discourse/controllers/user-payments.js.es6 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 c9fc1d1..beb8bb9 100644 --- a/assets/javascripts/discourse/templates/connectors/user-profile-primary/link.hbs +++ b/assets/javascripts/discourse/templates/connectors/user-profile-primary/link.hbs @@ -1,2 +1,2 @@ -Choice payments page +Payments page diff --git a/assets/javascripts/discourse/templates/user/choice.hbs b/assets/javascripts/discourse/templates/user/payments.hbs similarity index 100% rename from assets/javascripts/discourse/templates/user/choice.hbs rename to assets/javascripts/discourse/templates/user/payments.hbs diff --git a/plugin.rb b/plugin.rb index 7288600..194ef47 100644 --- a/plugin.rb +++ b/plugin.rb @@ -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 diff --git a/test/javascripts/acceptance/choice-discourse-test.es6 b/test/javascripts/acceptance/choice-discourse-test.es6 index a4c15d9..31c37f7 100644 --- a/test/javascripts/acceptance/choice-discourse-test.es6 +++ b/test/javascripts/acceptance/choice-discourse-test.es6 @@ -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');