From e32e7b9def7a603c2ebb6227ea3a3f4ebc306a0c Mon Sep 17 00:00:00 2001 From: Rimian Perkins Date: Mon, 13 Feb 2017 13:50:48 +1100 Subject: [PATCH] fix assertion --- plugin.rb | 2 +- test/javascripts/acceptance/choice-discourse-test.es6 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin.rb b/plugin.rb index 37a50b0..6ec932d 100644 --- a/plugin.rb +++ b/plugin.rb @@ -1,6 +1,6 @@ # name: choice-plugin # about: Integrating Discourse with Stripe -# version: 0.3.0 +# version: 0.3.1 # authors: Rimian Perkins gem 'stripe', '1.58.0' diff --git a/test/javascripts/acceptance/choice-discourse-test.es6 b/test/javascripts/acceptance/choice-discourse-test.es6 index 20ec173..f0bf4ee 100644 --- a/test/javascripts/acceptance/choice-discourse-test.es6 +++ b/test/javascripts/acceptance/choice-discourse-test.es6 @@ -5,7 +5,7 @@ test('Choice Page Exists', () => { visit('/users/eviltrout/choice'); andThen(() => { - ok(exists('h1'), 'Choice'); - ok(exists('.payments'), 'eviltrout'); + ok(exists('h1'), 'Heading exists'); + ok($.trim($('.payments').text()) == 'eviltrout', 'eviltrout'); }); });