Skip to content

Commit

Permalink
Check both the name and the displayName of the requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-molak committed Jan 4, 2024
1 parent 8978ef5 commit a345254
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class WhenLoadingRequirementsFromAProvidedDirectoryStructure extends Specificati
def tagProvider = new FileSystemRequirementsTagProvider(environmentVariables,
"src/test/resources/featuredir")
then:
tagProvider.requirements.collect {it.name } as Set == ["Maintain my todo list","Record todos"] as Set
tagProvider.requirements.collect {it.name } as Set == ["maintain_my_todo_list","record_todos"] as Set
tagProvider.requirements.collect {it.displayName } as Set == ["Maintain my todo list","Record todos"] as Set
}
}

0 comments on commit a345254

Please sign in to comment.