Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Nazar65 committed Jan 20, 2020
1 parent a121250 commit fcce5b8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ define([
expect($(modal).length).toEqual(1);
});

it('Verify stTitle() method set title', function () {
it('Verify setTitle() method set title', function () {
var newTitle = 'New modal title';

modal.setTitle(newTitle);
expect($(modal.options.modalTitle).text()).toBe(newTitle);
expect($(modal.options.modalTitle).find(modal.options.modalSubTitle).length).toBe(1);
expect($(modal.options.modalTitle).text()).toContain(newTitle);
expect($(modal.options.modalTitle).find(modal.options.modalSubTitle).length).toBe(2);
});
});
});

0 comments on commit fcce5b8

Please sign in to comment.