Update Nav.jsx

Added pullRight class to the Nav component
Ah yes, the assert.ok()
Sure should be, thanks for checking, I've updated it.


On Wed, Jul 9, 2014 at 6:22 PM, Stevie Mayhew <notifications@github.com>
wrote:

> In test/NavSpec.jsx:
>
> > @@ -49,6 +49,16 @@ describe('Nav', function () {
> >          );
> >      assert.ok(ReactTestUtils.findRenderedDOMComponentWithClass(instance, 'nav-justified'));
> >    });
> > +
> > +  it('Should add pull-right class', function () {
> > +    var instance = ReactTestUtils.renderIntoDocument(
> > +          <Nav bsStyle="tabs" pullRight activeKey={1}>
> > +            <NavItem key={1} ref="item1">Tab 1 content</NavItem>
> > +            <NavItem key={2} ref="item2">Tab 2 content</NavItem>
> > +          </Nav>
> > +        );
> > +    assert.ok(ReactTestUtils.findRenderedDOMComponentWithClass(instance, 'nav-justified'));
>
> Shouldn't this be 'pull-right' ?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/react-bootstrap/react-bootstrap/pull/148/files#r14740117>
> .
>