         expect(@scope.mappingPropertyOnMap).to.be.undefined
 
 
-      describe '', ->  # NOTE: due to the scoping of params a repeater always has to be alone in a descibe block (scope)
-        for key in ['projection', 'mapName', 'mappingPropertyOnData', 'valueProperty']
-          it "should initialize #{key}", ->
-            expect(@scope[key]).to.eql(@snippetModel.storedData[key])
+      ['projection', 'mapName', 'mappingPropertyOnData', 'valueProperty'].forEach (key) ->
+        it "should initialize #{key}", ->
+          expect(@scope[key]).to.eql(@snippetModel.storedData[key])
 
 
     describe "skips some when data is not set", ->

          $scope: @scope, $http: {}, ngProgress: @ngProgress, dataService: {})


      describe '', ->
        for key in ['projection', 'mapName', 'mappingPropertyOnMap', 'mappingPropertyOnData', 'valueProperty']
          it "should initialize #{key}", ->
            expect(@scope[key]).to.eql(@snippetModel.storedData[key])


  # TODO: there seems to be some timing issue when changing user input...

          $scope: @scope, $http: {}, ngProgress: @ngProgress, dataService: {})


      ['mappingPropertyOnData', 'valueProperty'].forEach (key) ->
        it "should not initialize #{key}", ->
          expect(@scope[key]).to.be.undefined


      ['mappingPropertyOnData', 'valueProperty'].forEach (key) ->
        it "should not initialize #{key}", ->
          expect(@scope[key]).to.be.undefined


      ['projection', 'mapName', 'mappingPropertyOnMap'].forEach (key) ->
          it "should initialize #{key}", ->
            expect(@scope[key]).to.eql(@snippetModel.storedData[key])

