Skip to content
Snippets Groups Projects
Commit 15ff4de1 authored by Hagen Dreßler's avatar Hagen Dreßler Committed by David Noah Donges
Browse files

Rename component comment-creator to comment

parent 4609bcf5
Branches
Tags
No related merge requests found
...@@ -8,7 +8,7 @@ import { JoinRoomComponent } from './join-room/join-room.component'; ...@@ -8,7 +8,7 @@ import { JoinRoomComponent } from './join-room/join-room.component';
import { LoginComponent } from './login/login.component'; import { LoginComponent } from './login/login.component';
import { RegisterComponent } from './register/register.component'; import { RegisterComponent } from './register/register.component';
import { PasswordResetComponent } from './password-reset/password-reset.component'; import { PasswordResetComponent } from './password-reset/password-reset.component';
import { CommentCreatorComponent } from './comment-creator/comment-creator.component'; import { CommentComponent } from './comment/comment.component';
import { AppRoutingModule } from './app-routing.module'; import { AppRoutingModule } from './app-routing.module';
import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { FormsModule, ReactiveFormsModule } from '@angular/forms';
...@@ -77,7 +77,7 @@ import { CreateCommentComponent } from './create-comment/create-comment.componen ...@@ -77,7 +77,7 @@ import { CreateCommentComponent } from './create-comment/create-comment.componen
RoomListComponent, RoomListComponent,
CreatorHomeScreenComponent, CreatorHomeScreenComponent,
CreateCommentComponent, CreateCommentComponent,
CommentCreatorComponent CommentComponent
], ],
entryComponents: [ entryComponents: [
RegisterComponent, RegisterComponent,
......
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { CommentCreatorComponent } from './comment-creator.component'; import { CommentComponent } from './comment.component';
describe('CommentCreatorComponent', () => { describe('CommentComponent', () => {
let component: CommentCreatorComponent; let component: CommentComponent;
let fixture: ComponentFixture<CommentCreatorComponent>; let fixture: ComponentFixture<CommentComponent>;
beforeEach(async(() => { beforeEach(async(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
declarations: [ CommentCreatorComponent ] declarations: [ CommentComponent ]
}) })
.compileComponents(); .compileComponents();
})); }));
beforeEach(() => { beforeEach(() => {
fixture = TestBed.createComponent(CommentCreatorComponent); fixture = TestBed.createComponent(CommentComponent);
component = fixture.componentInstance; component = fixture.componentInstance;
fixture.detectChanges(); fixture.detectChanges();
}); });
......
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
@Component({ @Component({
selector: 'app-comment-creator', selector: 'app-comment',
templateUrl: './comment-creator.component.html', templateUrl: './comment.component.html',
styleUrls: ['./comment-creator.component.scss'] styleUrls: ['./comment.component.scss']
}) })
export class CommentCreatorComponent implements OnInit { export class CommentComponent implements OnInit {
constructor() { } constructor() { }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment