Closes #4096 - Swap this.innerText to $(this).text()

This commit is contained in:
Chris Cowan 2015-06-03 14:05:18 -07:00
parent e3f0479d76
commit 9ccfa1c3aa

View file

@ -1,6 +1,7 @@
define(function (require) {
require('components/paginated_table/paginated_table');
var _ = require('lodash');
var $ = require('jquery');
var sinon = require('sinon/sinon');
describe('paginated table', function () {
@ -240,7 +241,7 @@ define(function (require) {
it('should should have duplicate column titles', function () {
var columns = $el.find('thead th span');
columns.each(function () {
expect(this.innerText).to.be(colText);
expect($(this).text()).to.be(colText);
});
});