diff options
author | Tucker Evans <tuckerevans24@gmail.com> | 2019-12-10 12:27:46 -0500 |
---|---|---|
committer | Tucker Evans <tuckerevans24@gmail.com> | 2019-12-10 15:14:57 -0500 |
commit | d8e99623986708c7b64984f8bf638a9fbec4a3d2 (patch) | |
tree | fef5e9a1db26edfdf8ff23caa179075d7a7fde39 /recipeBuddy/src/app/edit-recipe/edit-recipe.component.spec.ts | |
parent | 0f8d2ab5d57334320f8c60b626c5af455eddae4f (diff) |
Add edit-recipe form/page
Mostly copied from add recipe page.
Updates recipe successfully, but doesn't pull ingredients/steps into
form, and doesn't use pass service to get recipe.
Diffstat (limited to 'recipeBuddy/src/app/edit-recipe/edit-recipe.component.spec.ts')
-rw-r--r-- | recipeBuddy/src/app/edit-recipe/edit-recipe.component.spec.ts | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/recipeBuddy/src/app/edit-recipe/edit-recipe.component.spec.ts b/recipeBuddy/src/app/edit-recipe/edit-recipe.component.spec.ts new file mode 100644 index 0000000..e92d28b --- /dev/null +++ b/recipeBuddy/src/app/edit-recipe/edit-recipe.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { EditRecipeComponent } from './edit-recipe.component'; + +describe('EditRecipeComponent', () => { + let component: EditRecipeComponent; + let fixture: ComponentFixture<EditRecipeComponent>; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ EditRecipeComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(EditRecipeComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); |