Skip to content

Commit f4972dd

Browse files
committed
Fix iconClasses and iconText tests
1 parent f7e014d commit f4972dd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/integration/components/bs-datetimepicker-test.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@ moduleForComponent('bs-datetimepicker', 'Integration | Component | bs datetimepi
88
test('it renders iconClasses and iconText', function(assert) {
99
assert.expect(2);
1010

11-
this.render(hbs`{{bs-datetimepicker date='01/01/2016' classes='material-icons' iconText='date-range'}}`);
11+
this.render(hbs`{{bs-datetimepicker date='01/01/2016' iconClasses='material-icons' iconText='date-range'}}`);
1212

1313
assert.equal(this.$('.input-group-addon i').attr('class'), 'material-icons');
14-
// Slice off the zero-width-non-joiner character
15-
assert.equal(this.$('.input-group-addon i').text().trim().slice(0, -1), 'date-range');
14+
assert.equal(this.$('.input-group-addon i').text().trim(), 'date-range');
1615
});
1716

1817
test('it renders with default icon classes', function(assert) {

0 commit comments

Comments
 (0)