Skip to content

Commit 4d5c195

Browse files
committed
fix tests
1 parent 5537a62 commit 4d5c195

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

spec/features/work_packages/table/semantic_id_navigation_follow_ups_spec.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# bugs manifest.
1313

1414
let(:admin) { create(:admin) }
15-
let(:project) { create(:project, identifier: "navfollow") }
15+
let(:project) { create(:project, identifier: "NAVFOLLOW") }
1616

1717
let(:work_package) { create(:work_package, project:, subject: "First WP") }
1818
let(:other_wp) { create(:work_package, project:, subject: "Other WP") }
@@ -118,6 +118,10 @@
118118
end
119119

120120
context "in classic (numeric) mode", with_settings: { work_packages_identifier: "classic" } do
121+
# Classic mode validates project identifiers against the lowercase classic
122+
# format, so the uppercase semantic identifier used above is invalid here.
123+
let(:project) { create(:project, identifier: "navfollow") }
124+
121125
describe "right-click context menu 'Copy numeric ID to clipboard' item" do
122126
it "is not offered (the displayed id is already the numeric id)" do
123127
context_menu.open_for(work_package)

0 commit comments

Comments
 (0)