fix assertion
This commit is contained in:
parent
ac2d772843
commit
e32e7b9def
|
@ -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'
|
||||
|
|
|
@ -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');
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue