]> git.apps.os.sepia.ceph.com Git - ceph.git/blob
313f66722a2f3f23e9ff2b09299cee2aa126dcc3
[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: [
17         ReactiveFormsModule,
18         SharedModule
19       ],
20       providers: [ BsModalRef ]
21     })
22     .compileComponents();
23   }));
24
25   beforeEach(() => {
26     fixture = TestBed.createComponent(RgwUserCapabilityModalComponent);
27     component = fixture.componentInstance;
28     fixture.detectChanges();
29   });
30
31   it('should create', () => {
32     expect(component).toBeTruthy();
33   });
34 });