parent
7a43e0a548
commit
9ed12f465f
|
@ -127,7 +127,7 @@ describe('Style Guide', function () {
|
|||
it('05-14', function () {
|
||||
browser.get('#/05-14');
|
||||
|
||||
var toast = element(by.tagName('sg-app > my-toast'));
|
||||
var toast = element(by.tagName('sg-app > toh-toast'));
|
||||
expect(toast.getText()).toBe('...');
|
||||
});
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import { ToastComponent } from './shared/toast/toast.component';
|
|||
|
||||
@Component({
|
||||
selector: 'sg-app',
|
||||
template: `<my-toast></my-toast>`,
|
||||
template: `<toh-toast></toh-toast>`,
|
||||
directives: [ToastComponent]
|
||||
})
|
||||
export class AppComponent { }
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'my-toast',
|
||||
selector: 'toh-toast',
|
||||
template: `...`
|
||||
})
|
||||
// #docregion example
|
||||
|
|
Loading…
Reference in New Issue