Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit daa21f2

Browse files
committed
Fix existing assertion for Navbar componentClass
1 parent 1bc3253 commit daa21f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/NavbarSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ describe('Nav', function () {
6161
let instance = ReactTestUtils.renderIntoDocument(
6262
<Navbar componentClass={'header'}/>
6363
);
64-
assert.ok(React.findDOMNode(instance).nodeName, 'HEADER');
64+
assert.equal(React.findDOMNode(instance).nodeName, 'HEADER');
6565
});
6666

6767
it('Should add header with brand', function () {

0 commit comments

Comments
 (0)