Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

docs(style-guide): rename toast selector #1486

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion public/docs/_examples/style-guide/e2e-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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('...');
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 { }
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { Component, OnInit } from '@angular/core';

@Component({
selector: 'my-toast',
selector: 'toh-toast',
template: `...`
})
// #docregion example
Expand Down