Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Commit

Permalink
Update nomenclature in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chadwhitacre committed Jun 30, 2016
1 parent dbfde48 commit 72b886d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/v2/custom-widget.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<body>
<div data-gratipay-teamslug="gratipay" data-gratipay-widget="custom">
Username: <span class="gratipay-slug"></span>
Team slug: <span class="gratipay-slug"></span>
<a class="gratipay-profile-link">profile link</a><br>
Receiving: <span class="gratipay-receiving"></span><br>
<a class="gratipay-link">gratipay &lt;3</a>
Expand Down
4 changes: 2 additions & 2 deletions test/v2/test_custom-widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ module.exports = {
.waitFor(function() {
return !!document.querySelector('[data-gratipay-readystatus="ready"]');
}, [], 2000)
.assert.text('.gratipay-teamslug').is.not('', 'username should not be empty')
.assert.text('.gratipay-receiving').is.not('', 'taking should not be empty')
.assert.text('.gratipay-teamslug').is.not('', 'teamslug should not be empty')
.assert.text('.gratipay-receiving').is.not('', 'receiving should not be empty')
.done();
},

Expand Down

0 comments on commit 72b886d

Please sign in to comment.