Skip to content

Commit

Permalink
Fix tests to expect school object
Browse files Browse the repository at this point in the history
  • Loading branch information
Drew Samnick committed Feb 17, 2018
1 parent 4f251ad commit d3fe640
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/test/unit/templates/SchoolAutocompleteDropdownTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ describe('SchoolAutocompleteDropdown', () => {
return expect(promise).to.eventually.deep.equal({
options: [
{value: '-1', label: 'Other school not listed below (click here to provide details)'},
{value: '10', label: 'Abcd School 1 - Seattle, WA 98101'},
{value: '11', label: 'Abcd School 2 - Redmond, WA 98073'}
{value: '10', label: 'Abcd School 1 - Seattle, WA 98101', school: {nces_id: 10, name: 'Abcd School 1', city: 'Seattle', state: 'WA', zip: '98101'}},
{value: '11', label: 'Abcd School 2 - Redmond, WA 98073', school: {nces_id: 11, name: 'Abcd School 2', city: 'Redmond', state: 'WA', zip: '98073'}}
]
});
});
Expand Down Expand Up @@ -149,7 +149,7 @@ describe('SchoolAutocompleteDropdown', () => {

return expect(promise).to.eventually.deep.equal({
options: [
{value: '9999', label: 'Abcd School 1 - Seattle, WA 98101'}
{value: '9999', label: 'Abcd School 1 - Seattle, WA 98101', school: {nces_id: 9999, name: 'Abcd School 1', city: 'Seattle', state: 'WA', zip: '98101'}}
]
});
});
Expand Down

0 comments on commit d3fe640

Please sign in to comment.