Skip to content

Commit

Permalink
update rate list
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed May 25, 2017
1 parent e31aa7c commit b52120d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions public/fusio/tests/app/rate.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ describe('Rate tests', function() {
browser.get('#/rate');

var rates = element.all(by.repeater('rate in rates'));
expect(rates.count()).toEqual(3);
expect(rates.get(0).getText()).toMatch('silver');
expect(rates.get(1).getText()).toMatch('Default-Anonymous');
expect(rates.get(2).getText()).toMatch('Default');
expect(rates.count()).toEqual(4);
expect(rates.get(0).getText()).toMatch('gold');
expect(rates.get(1).getText()).toMatch('silver');
expect(rates.get(2).getText()).toMatch('Default-Anonymous');
expect(rates.get(3).getText()).toMatch('Default');
});

it('Create rate', function() {
Expand Down

0 comments on commit b52120d

Please sign in to comment.