Merge pull request #5 from Rebilly/adamaltman-patch-1

Fix typo in api-info spec
This commit is contained in:
Roman Hotsiy 2016-01-20 15:54:22 +02:00
commit cfe6b23de6

View File

@ -37,13 +37,13 @@ describe('Redoc components', () => {
});
it('shold init component data', () => {
it('should init component data', () => {
expect(component).not.toBeNull();
expect(component.data).not.toBeNull();
component.data.title.should.be.equal('Swagger Petstore');
});
it('shold render api name and version', () => {
it('should render api name and version', () => {
let nativeElement = getChildDebugElement(fixture.debugElement, 'api-info').nativeElement;
let headerElement = nativeElement.querySelector('h1');
expect(headerElement).toHaveText('Swagger Petstore (1.0.0)');