Skip to content

Commit

Permalink
fix(popover): add Theme tab to the docs
Browse files Browse the repository at this point in the history
Closes #619
  • Loading branch information
nnixaa committed Sep 13, 2018
1 parent 151f99d commit b7b4985
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/popover.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,13 +156,13 @@ describe('nb-popover', () => {
it('have to render component with context', () => {
element(contentComponentWithContext).click();
const text = element(popover).element(by.css('nb-dynamic-to-add > div > strong')).getText();
expect(text).toEqual('hello from dynamically inserted component: Example context');
expect(text).toEqual('Hello from custom component: Example context');
});

it('have to render template with context', () => {
element(contentTemplateWithContext).click();
const text = element(popover).element(by.css('nb-dynamic-to-add > div > strong')).getText();
expect(text).toEqual('hello from dynamically inserted component: Example context');
expect(text).toEqual('Hello from custom component: Example context');
});

it('have to hide popover when host removed', done => {
Expand Down

0 comments on commit b7b4985

Please sign in to comment.