Skip to content

Commit

Permalink
Update ClayManagementToolbar tests | Fixes liferay#543
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Lancha authored and Kien Do committed Feb 21, 2018
1 parent 3ea111e commit 89e38ee
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,15 @@ describe('ClayManagementToolbar', function() {
expect(managementToolbar).toMatchSnapshot();
});

it('should render a management toolbar with no search', () => {
managementToolbar = new ClayManagementToolbar({
showSearch: false,
spritemap: spritemap,
});

expect(managementToolbar).toMatchSnapshot();
});

it('should render a management toolbar with search action url', () => {
managementToolbar = new ClayManagementToolbar({
searchActionURL: 'mySearchURL',
Expand Down

0 comments on commit 89e38ee

Please sign in to comment.