diaspora/spec/javascripts/app/views/locator_spec.js
realtin 6716b4c175 rename location_view to locator
because it is confusing with the other location files
2015-09-09 12:25:45 +02:00

17 lines
465 B
JavaScript

describe("app.views.Location", function(){
beforeEach(function(){
OSM = {};
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();
});
});
});