Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 www 1
"use strict";
2
 
3
describe("customContainer option:", function() {
4
 
5
  beforeEach(function() {
6
    intlSetup();
7
    input = $("<input>").wrap("div");
8
  });
9
 
10
  afterEach(function() {
11
    intlTeardown();
12
  });
13
 
14
 
15
  describe("init plugin with customContainer", function() {
16
 
17
    beforeEach(function() {
18
      iti = window.intlTelInput(input[0], {
19
        customContainer: 'cpc',
20
      });
21
    });
22
 
23
    it("sets the classes properly", function() {
24
      expect(getParentElement()).toHaveClass("cpc");
25
    });
26
 
27
  });
28
 
29
});