Skip to content
Snippets Groups Projects
Select Git revision
  • 8f9e9e154dcb49f77eee7c2947d6636971915278
  • master default protected
  • add-frequency-to-form
  • dev protected
  • ckan-2.11.0
  • add-package-custom-fields
  • fix-adding-datasets-for-users-and-editors
  • add-auth-subroute
  • 71-migrate-custom-fields-to-ckanext-scheming
  • add-author-maintainer-information
  • fix-inline-flex-btns
  • fix-known-spatial-uri-validation
  • py3
  • 47-aktuelle-resource-einer-collection-wird-nicht-mehr-gefunden
  • 10-eingabe-der-dct-accrualperiodicity-in-weboberflache
  • v1.3
  • 2.5.3
  • 2.5.2
  • 2.5.1
  • 2.5.0
  • 2.4.7
  • 2.4.6
  • 2.4.5
  • 2.4.4
  • 2.4.3
  • 2.4.2
  • 2.4.1
  • 2.4.0
  • 2.3.1
  • 2.3.0
  • 2.2.0
  • 2.1.0
  • 2.0.0
  • 1.4.3
  • 1.4.2
  • 1.4.1
36 results

fileformat.html

Blame
  • collaboration.service.spec.ts 1.02 KiB
    import { CollaborationService } from './collaboration.service';
    
    describe('CollaborationService', () => {
      let service: CollaborationService;
    
      beforeEach(() => {
        service = new CollaborationService();
      });
    
      describe('is request form visible', () => {
        it('should return value', (done) => {
          service.showRequestForm$.next(false);
    
          service.isRequestFormVisible().subscribe((isVisible: boolean) => {
            expect(isVisible).toBeTruthy();
            done();
          });
    
          service.showRequestForm();
        });
      });
    
      describe('show anfrage formular', () => {
        it('should set "showRequestForm" to true', () => {
          service.showRequestForm$.next(false);
    
          service.showRequestForm();
    
          expect(service.showRequestForm$.value).toBeTruthy();
        });
      });
    
      describe('hide anfrage formular', () => {
        it('should set "showRequestForm" to false', () => {
          service.showRequestForm$.next(true);
    
          service.hideRequestForm();
    
          expect(service.showRequestForm$.value).toBeFalsy();
        });
      });
    });