diaspora/spec/javascripts/app/views/locator_spec.js
realtin 1cdcc50c63 fix all the pronto remarks finally
- fix map controls in stream
2015-09-11 10:24:39 +02:00

16 lines
451 B
JavaScript

describe("app.views.Location", function(){
beforeEach(function(){
OSM.Locator = function(){return { getAddress:function(){}}};
this.view = new app.views.Location();
});
describe("When it gets instantiated", function(){
it("creates #location_address", function(){
expect($("#location_address")).toBeTruthy();
expect($("#location_coords")).toBeTruthy();
expect($("#hide_location")).toBeTruthy();
});
});
});