Skip to content

Commit

Permalink
chore(deps)
Browse files Browse the repository at this point in the history
  • Loading branch information
mchapman committed Feb 6, 2017
1 parent 58ac8e3 commit 26b2e69
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fng-ui-select",
"version": "0.7.0",
"version": "0.8.1",
"author": "Mark Chapman <[email protected]>",
"description": "ui-select plugin for forms-angular",
"main": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "fng-ui-select",
"author": "Mark Chapman <[email protected]>",
"version": "0.7.0",
"version": "0.8.1",
"description": "angular-ui-select plugin for forms-angular",
"repository": {
"type": "git",
Expand Down
10 changes: 5 additions & 5 deletions test/e2e/single-control.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ describe('Single control', function () {

$('#cg_f_singleCached .select2-arrow').click();
element.all(by.css('.select2-result-label.ui-select-choices-row-inner')).get(1).click();
expect(match.getText()).toEqual('Jones Alan true 93');
expect(match.getText()).toMatch('Jones Alan true 93');

saveButton.click();
expect(match.getText()).toEqual('Jones Alan true 93');
expect(match.getText()).toMatch('Jones Alan true 93');
});

it('should handle Ajax lookup', function () {
Expand All @@ -63,10 +63,10 @@ describe('Single control', function () {
field.sendKeys('Is');

element.all(by.css('.select2-result-label.ui-select-choices-row-inner')).get(0).click();
expect(match.getText()).toEqual('IsAccepted John true 89');
expect(match.getText()).toMatch('IsAccepted John true 89');

saveButton.click();
expect(match.getText()).toEqual('IsAccepted John true 89');
expect(match.getText()).toMatch('IsAccepted John true 89');
});

it('should handle filtered Ajax lookup', function () {
Expand All @@ -80,7 +80,7 @@ describe('Single control', function () {

expect(element.all(by.css('.select2-result-label.ui-select-choices-row-inner')).count()).toEqual(1);
element.all(by.css('.select2-result-label.ui-select-choices-row-inner')).get(0).click();
expect(match.getText()).toEqual('Jones Alan true 93');
expect(match.getText()).toMatch('Jones Alan true 93');
});

});
Expand Down

0 comments on commit 26b2e69

Please sign in to comment.