Sha256: 0ed15dbbf96f9f1e5bd25af4d7cafe405f7fb20b0e065d2497b8f576cc9efe42

Contents?: true

Size: 881 Bytes

Versions: 3

Compression:

Stored size: 881 Bytes

Contents

describe("Ropenlayer", function() {
  
  //var testMap;

/*
  beforeEach(function() {
    player = new Player();
    song = new Song();
  });*/

  it("should be able to crete map continer", function() {
      // create a new element 
      var testRopenlayerContainer = document.createElement('div'); 
      testRopenlayerContainer.setAttribute('id', 'ropenlayer_test_map');
      testRopenlayerContainer.setAttribute('style', 'background-color: red; widht: 800px; height: 400px;');
      x = document.body.appendChild(testRopenlayerContainer);
      //reget it
      y = document.getElementById('ropenlayer_test_map');
      expect(y.id).toEqual('ropenlayer_test_map');
  });

  
  it("should create a new map container", function () {
    // add first OpenLayers Lib
      var testRopenlayerContainer = document.createElement('div'); 
//      testMap = setTestMap();
  });
  
});

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ropenlayer-0.3.5 spec/javascripts/RopenlayerSpec.js
ropenlayer-0.3.4 spec/javascripts/RopenlayerSpec.js
ropenlayer-0.3.3 spec/javascripts/RopenlayerSpec.js