Fixing minor typo for InitCapsPipe (was InitCapsPiep)

closes #913
This commit is contained in:
Coders Digest 2016-03-04 20:25:05 +08:00 committed by Ward Bell
parent 81770aee6b
commit c7fa461c04

View File

@ -65,12 +65,12 @@ code-example(format="" language="html" escape="html").
:marked :marked
We are writing an Angular application afterall and We are writing an Angular application afterall and
we were going to need Angular sooner or later. That time has come. we were going to need Angular sooner or later. That time has come.
The `InitCapsPiep` clearly depends on Angular as is clear in the first few lines: The `InitCapsPipe` clearly depends on Angular as is clear in the first few lines:
code-example(format=""). code-example(format="").
import {Pipe} from 'angular2/core'; import {Pipe} from 'angular2/core';
@Pipe({ name: 'initCaps' }) @Pipe({ name: 'initCaps' })
export class InitCapsPipe { export class InitCapsPipe { ... }
:marked :marked
**Open** `unit-tests.html` **Open** `unit-tests.html`
@ -160,4 +160,4 @@ figure.image-display
What about testing parts that *are themselves asynchronous*? What about testing parts that *are themselves asynchronous*?
Let's test a service with a public asynchronous method that fetches heroes Let's test a service with a public asynchronous method that fetches heroes
from a remote server. from a remote server.