]> git.apps.os.sepia.ceph.com Git - ceph.git/blob
c7a0f5b4ebec3fb186198c65bc5ebae5e4e0f50b
[ceph.git] /
1 import { async, ComponentFixture, TestBed } from '@angular/core/testing';
2 import { ReactiveFormsModule } from '@angular/forms';
3
4 import { BsModalRef } from 'ngx-bootstrap/modal';
5
6 import { SharedModule } from '../../../shared/shared.module';
7 import { RgwUserCapabilityModalComponent } from './rgw-user-capability-modal.component';
8
9 describe('RgwUserCapabilityModalComponent', () => {
10   let component: RgwUserCapabilityModalComponent;
11   let fixture: ComponentFixture<RgwUserCapabilityModalComponent>;
12
13   beforeEach(async(() => {
14     TestBed.configureTestingModule({
15       declarations: [RgwUserCapabilityModalComponent],
16       imports: [ReactiveFormsModule, SharedModule],
17       providers: [BsModalRef]
18     }).compileComponents();
19   }));
20
21   beforeEach(() => {
22     fixture = TestBed.createComponent(RgwUserCapabilityModalComponent);
23     component = fixture.componentInstance;
24     fixture.detectChanges();
25   });
26
27   it('should create', () => {
28     expect(component).toBeTruthy();
29   });
30 });