87242: Fix workspace/workflow confusion in spec names

This commit is contained in:
Yura Bondarenko
2022-03-04 10:19:09 +01:00
parent a698610043
commit 1f808f0096

View File

@@ -364,11 +364,11 @@ describe('SubmissionSectionFormComponent test suite', () => {
expect((comp as any).inCurrentSubmissionScope('dc.title')).toBe(true);
});
it('should return true for fields scoped to workflow', () => {
it('should return true for fields scoped to workspace', () => {
expect((comp as any).inCurrentSubmissionScope('scoped.workspace')).toBe(true);
});
it('should return false for fields scoped to workspace', () => {
it('should return false for fields scoped to workflow', () => {
expect((comp as any).inCurrentSubmissionScope('scoped.workflow')).toBe(false);
});
});