define([
  'page_config'
],
function (PageConfig) {
  describe('PageConfig', function () {

    var req;
    beforeEach(function () {
      var get = jasmine.createSpy();
      get.plan = function (prop) {
        return {
          assetPath: '/path/to/assets/',
          govukHost: 'www.gov.uk'
        }[prop];
      };
      req = {
        app: {
          get: get
        },
        protocol: 'http',
        originalUrl: '/performance/foo'
      };
    });

    describe('getGovUkUrl', function () {
      it('returns the equivalent page location on GOV.UK', function () {
        expect(PageConfig.getGovUkUrl(req)).toEqual('https://www.gov.uk/performance/foo');
      });
    });

    describe('commonConfig', function () {
      it('returns configuration required by all Spotlight pages', function () {
        var commonConfig = PageConfig.commonConfig(req);
        expect(Object.keys(commonConfig).length).toEqual(7);
        expect(commonConfig.assetPath).toEqual('/path/to/assets/');
      });
    });
  });
});

@@ -742,61 +742,35 @@
 it('
-returns configuration required by all Spotlight pages
+contains assetPath property
 ', f
@@ -858,20 +858,8 @@
 ect(
-Object.keys(
 comm
@@ -870,14 +870,16 @@
 nfig
-).leng
+.assetPa
 th).
@@ -890,76 +890,208 @@
 ual(
-7);%0A        expect(commonConfig.assetPath).toEqual('/path/to/assets/
+'/path/to/assets/');%0A      %7D);%0A      it('contains assetPath property', function () %7B%0A        var commonConfig = PageConfig.commonConfig(req);%0A        expect(commonConfig.url).toEqual('/performance/foo
 ');%0A

Remove test for number of config properties