
describe("mapview public", function() {

  var view;

  beforeEach(function() {

var vizjson =  {id: "5ed698fa-cc85-11e3-a76b-003ee1fffe8b", version: "0.1.0", title: "untitled_table_5", description: null, url: null }

    view = new cdb.open.PublicMapTab({
      vizjson: vizjson,
      vizjson_url: ""
    });

  });

  it("should render", function() {
    view.render();
    expect(view.$('.cartodb-map').length).toEqual(1);
  });

  it("should not render the private components", function() {
    view.render();
    expect(view.$('.base_maps').length).toEqual(0);
    expect(view.$('.share').length).toEqual(0);
  })

});

@@ -296,16 +296,82 @@
 _url: %22%22
+,%0A      model: new cdb.core.Model(%7B%0A        bounds: false%0A      %7D)
 %0A    %7D);

fix tests