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