docs(style-guide): rename toast selector

closes #1486
This commit is contained in:
Foxandxss 2016-05-23 16:09:32 +02:00 committed by Ward Bell
parent 7a43e0a548
commit 9ed12f465f
3 changed files with 3 additions and 3 deletions

View File

@ -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('...');
});

View File

@ -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 { }

View File

@ -2,7 +2,7 @@
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'my-toast',
selector: 'toh-toast',
template: `...`
})
// #docregion example