fix(replace): allow morph into compensation SubProcess, too

Closes #461
This commit is contained in:
Nico Rehwaldt 2016-01-26 16:35:08 +01:00
parent fd2230a8fa
commit 12bb7d3c55
2 changed files with 2 additions and 2 deletions

View File

@ -192,7 +192,7 @@ ReplaceMenuProvider.prototype.getEntries = function(element) {
// can only replace to compensation activities
entries = filter(entries, function(entry) {
return !/CallActivity|SubProcess/.test(entry.target.type);
return !/CallActivity/.test(entry.target.type);
});
}

View File

@ -990,7 +990,7 @@ describe('features/popup-menu - replace menu provider', function() {
// then
expect(callActivityEntry).to.not.exist;
expect(subProcessEntry).to.not.exist;
expect(subProcessEntry).to.exist;
}));
});