fix assertion

This commit is contained in:
Rimian Perkins 2017-02-13 13:50:48 +11:00
parent ac2d772843
commit e32e7b9def
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# name: choice-plugin # name: choice-plugin
# about: Integrating Discourse with Stripe # about: Integrating Discourse with Stripe
# version: 0.3.0 # version: 0.3.1
# authors: Rimian Perkins # authors: Rimian Perkins
gem 'stripe', '1.58.0' gem 'stripe', '1.58.0'

View File

@ -5,7 +5,7 @@ test('Choice Page Exists', () => {
visit('/users/eviltrout/choice'); visit('/users/eviltrout/choice');
andThen(() => { andThen(() => {
ok(exists('h1'), 'Choice'); ok(exists('h1'), 'Heading exists');
ok(exists('.payments'), 'eviltrout'); ok($.trim($('.payments').text()) == 'eviltrout', 'eviltrout');
}); });
}); });