describe("diamondash.widgets.dynamic", function() {
  var dynamic = diamondash.widgets.dynamic,
      utils = diamondash.test.utils;

  afterEach(function() {
    utils.unregisterModels();
  });

  describe(".DynamicWidgetModel", function() {
    var model,
        server;

    beforeEach(function() {
      server = sinon.fakeServer.create();

      model = new dynamic.DynamicWidgetModel({
        name: 'widget-1',
        dashboardName: 'dashboard-1',
        foo: [1, 2, 3],
        bar: ['a', 'b', 'c']
      });
    });

    afterEach(function() {
      server.restore();
    });

    describe(".fetchSnapshot()", function() {
      it("should issue an api request to its snapshot url", function(done) {
        server.respondWith(function(req) {
          assert.equal(req.url, '/api/widgets/dashboard-1/widget-1/snapshot');
          done();
        });

        model.fetchSnapshot();
        server.respond();
      });

      it("should not remove attrs not present in the api response",
      function() {
        server.respondWith(JSON.stringify({
          foo: 'spam'
        }));

        model.fetchSnapshot();
        server.respond();

        assert.deepEqual(model.toJSON(), {
          name: 'widget-1',
          dashboardName: 'dashboard-1',
          foo: 'spam',
          bar: ['a', 'b', 'c']
        });
      });
    });
  });
});

@@ -404,32 +404,57 @@
 me: 'widget-1',%0A
+        type: 'dynamic',%0A
         dashboar
@@ -1239,32 +1239,59 @@
 me: 'widget-1',%0A
+          type: 'dynamic',%0A
           dashbo

Fix DynamicWidgetModel test broken by addition of WidgetModel sub-model types