diff options
51 files changed, 208 insertions, 1 deletions
diff --git a/config/locales/ar.yml b/config/locales/ar.yml index f52ec8dca..e291b2cf7 100644 --- a/config/locales/ar.yml +++ b/config/locales/ar.yml @@ -1507,3 +1507,7 @@ ar: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/az.yml b/config/locales/az.yml index 3710566df..ca5ba2e71 100644 --- a/config/locales/az.yml +++ b/config/locales/az.yml @@ -1598,3 +1598,7 @@ az: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/bg.yml b/config/locales/bg.yml index 4f5b54ae3..3d7ee8f1a 100644 --- a/config/locales/bg.yml +++ b/config/locales/bg.yml @@ -1452,3 +1452,7 @@ bg: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/bs.yml b/config/locales/bs.yml index db44cf700..d1c0a5cec 100644 --- a/config/locales/bs.yml +++ b/config/locales/bs.yml @@ -1493,3 +1493,7 @@ bs: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/ca.yml b/config/locales/ca.yml index a52b03b1a..fc0345104 100644 --- a/config/locales/ca.yml +++ b/config/locales/ca.yml @@ -1494,3 +1494,7 @@ ca: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/cs.yml b/config/locales/cs.yml index 45ed70711..c5e4d679d 100644 --- a/config/locales/cs.yml +++ b/config/locales/cs.yml @@ -1489,3 +1489,7 @@ cs: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/da.yml b/config/locales/da.yml index 05c9d4c3d..0f577d1bd 100644 --- a/config/locales/da.yml +++ b/config/locales/da.yml @@ -1524,3 +1524,7 @@ da: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/de.yml b/config/locales/de.yml index 9ad00adfa..c320099dc 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -1471,3 +1471,7 @@ de: setting_timelog_accept_closed_issues: Accept time logs on closed issues error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/el.yml b/config/locales/el.yml index a92609e11..df14ae051 100644 --- a/config/locales/el.yml +++ b/config/locales/el.yml @@ -1507,3 +1507,7 @@ el: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/en-GB.yml b/config/locales/en-GB.yml index 79fd6478d..3a119d7a2 100644 --- a/config/locales/en-GB.yml +++ b/config/locales/en-GB.yml @@ -1508,3 +1508,7 @@ en-GB: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/es-PA.yml b/config/locales/es-PA.yml index 8aef90a2d..195f8df94 100644 --- a/config/locales/es-PA.yml +++ b/config/locales/es-PA.yml @@ -1538,3 +1538,7 @@ es-PA: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/es.yml b/config/locales/es.yml index fd41f275b..4539055d5 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -1574,3 +1574,7 @@ es: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/et.yml b/config/locales/et.yml index 467fcdcb1..d503f28ce 100644 --- a/config/locales/et.yml +++ b/config/locales/et.yml @@ -1512,3 +1512,7 @@ et: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/eu.yml b/config/locales/eu.yml index 40e6ef21e..1334715ee 100644 --- a/config/locales/eu.yml +++ b/config/locales/eu.yml @@ -1508,3 +1508,7 @@ eu: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/fa.yml b/config/locales/fa.yml index b124cbff9..71f617f3c 100644 --- a/config/locales/fa.yml +++ b/config/locales/fa.yml @@ -1441,3 +1441,7 @@ fa: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/fi.yml b/config/locales/fi.yml index c6c90f1dc..01249963b 100644 --- a/config/locales/fi.yml +++ b/config/locales/fi.yml @@ -1525,3 +1525,7 @@ fi: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 7a072e32f..6093796b6 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -1484,3 +1484,7 @@ fr: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/gl.yml b/config/locales/gl.yml index 51e5ed99e..ef76a3dab 100644 --- a/config/locales/gl.yml +++ b/config/locales/gl.yml @@ -1513,3 +1513,7 @@ gl: setting_display_related_issues_table_headers: Amosar as cabeceiras da táboa error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/he.yml b/config/locales/he.yml index 26c37fff6..62b9f78b7 100644 --- a/config/locales/he.yml +++ b/config/locales/he.yml @@ -1512,3 +1512,7 @@ he: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/hr.yml b/config/locales/hr.yml index 83af380f0..04dc5717a 100644 --- a/config/locales/hr.yml +++ b/config/locales/hr.yml @@ -1504,3 +1504,7 @@ hr: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/hu.yml b/config/locales/hu.yml index b4a864826..ecde7c812 100644 --- a/config/locales/hu.yml +++ b/config/locales/hu.yml @@ -1496,3 +1496,7 @@ setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/id.yml b/config/locales/id.yml index 21291a994..9ac93271f 100644 --- a/config/locales/id.yml +++ b/config/locales/id.yml @@ -1509,3 +1509,7 @@ id: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/it.yml b/config/locales/it.yml index 66d084cdc..ff63fbf98 100644 --- a/config/locales/it.yml +++ b/config/locales/it.yml @@ -1446,3 +1446,7 @@ it: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/ko.yml b/config/locales/ko.yml index f2c7fa7d7..04f44e11c 100644 --- a/config/locales/ko.yml +++ b/config/locales/ko.yml @@ -1524,3 +1524,7 @@ ko: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/lt.yml b/config/locales/lt.yml index 30998b050..5ef2561f0 100644 --- a/config/locales/lt.yml +++ b/config/locales/lt.yml @@ -1468,3 +1468,7 @@ lt: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/lv.yml b/config/locales/lv.yml index 1d43e621d..d813060f4 100644 --- a/config/locales/lv.yml +++ b/config/locales/lv.yml @@ -1501,3 +1501,7 @@ lv: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/mk.yml b/config/locales/mk.yml index ee950d96e..f75c6f92b 100644 --- a/config/locales/mk.yml +++ b/config/locales/mk.yml @@ -1507,3 +1507,7 @@ mk: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/mn.yml b/config/locales/mn.yml index af4c0a5ec..4bf0d3755 100644 --- a/config/locales/mn.yml +++ b/config/locales/mn.yml @@ -1507,3 +1507,7 @@ mn: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/nl.yml b/config/locales/nl.yml index 18644e021..3ba829886 100644 --- a/config/locales/nl.yml +++ b/config/locales/nl.yml @@ -1482,3 +1482,7 @@ nl: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/no.yml b/config/locales/no.yml index a0a08e825..96f2591c5 100644 --- a/config/locales/no.yml +++ b/config/locales/no.yml @@ -1498,3 +1498,7 @@ setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/pl.yml b/config/locales/pl.yml index 4c43abc0b..0a048d896 100644 --- a/config/locales/pl.yml +++ b/config/locales/pl.yml @@ -1451,3 +1451,7 @@ pl: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/pt-BR.yml b/config/locales/pt-BR.yml index 1402dcfa1..46f766a7d 100644 --- a/config/locales/pt-BR.yml +++ b/config/locales/pt-BR.yml @@ -1512,3 +1512,7 @@ pt-BR: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/pt.yml b/config/locales/pt.yml index e92bb4bd3..e3ec71bae 100644 --- a/config/locales/pt.yml +++ b/config/locales/pt.yml @@ -1500,3 +1500,7 @@ pt: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/ro.yml b/config/locales/ro.yml index 38f23ce63..1de200dfd 100644 --- a/config/locales/ro.yml +++ b/config/locales/ro.yml @@ -1502,3 +1502,7 @@ ro: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/ru.yml b/config/locales/ru.yml index 540d961c4..3dbe719fc 100644 --- a/config/locales/ru.yml +++ b/config/locales/ru.yml @@ -1576,3 +1576,7 @@ ru: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/sk.yml b/config/locales/sk.yml index 2a35d0537..d7ca435fb 100644 --- a/config/locales/sk.yml +++ b/config/locales/sk.yml @@ -1496,3 +1496,7 @@ sk: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/sl.yml b/config/locales/sl.yml index 9c51b232c..1879c3f99 100644 --- a/config/locales/sl.yml +++ b/config/locales/sl.yml @@ -1507,3 +1507,7 @@ sl: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/sq.yml b/config/locales/sq.yml index f7b3e4fbd..b0f4991f0 100644 --- a/config/locales/sq.yml +++ b/config/locales/sq.yml @@ -1469,3 +1469,7 @@ sq: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/sr-YU.yml b/config/locales/sr-YU.yml index 5d83fa6e2..91926f1f3 100644 --- a/config/locales/sr-YU.yml +++ b/config/locales/sr-YU.yml @@ -1509,3 +1509,7 @@ sr-YU: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/sr.yml b/config/locales/sr.yml index baeb0ad21..109e60f74 100644 --- a/config/locales/sr.yml +++ b/config/locales/sr.yml @@ -1508,3 +1508,7 @@ sr: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/sv.yml b/config/locales/sv.yml index 607c43427..2afeb2dcf 100644 --- a/config/locales/sv.yml +++ b/config/locales/sv.yml @@ -1540,3 +1540,7 @@ sv: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/ta-IN.yml b/config/locales/ta-IN.yml index 6521837ec..cbac93a2f 100644 --- a/config/locales/ta-IN.yml +++ b/config/locales/ta-IN.yml @@ -1462,3 +1462,7 @@ ta-IN: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/th.yml b/config/locales/th.yml index b84a5d43a..89fb4c70d 100644 --- a/config/locales/th.yml +++ b/config/locales/th.yml @@ -1503,3 +1503,7 @@ th: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/tr.yml b/config/locales/tr.yml index f1c8a8c0d..d5ab86b79 100644 --- a/config/locales/tr.yml +++ b/config/locales/tr.yml @@ -1506,3 +1506,7 @@ tr: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/uk.yml b/config/locales/uk.yml index 83868a72a..d1218083d 100644 --- a/config/locales/uk.yml +++ b/config/locales/uk.yml @@ -1495,3 +1495,7 @@ uk: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/vi.yml b/config/locales/vi.yml index e1778a4bf..6f08cad0c 100644 --- a/config/locales/vi.yml +++ b/config/locales/vi.yml @@ -1511,3 +1511,7 @@ vi: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/zh-TW.yml b/config/locales/zh-TW.yml index 261970d0c..906c11be6 100644 --- a/config/locales/zh-TW.yml +++ b/config/locales/zh-TW.yml @@ -1521,3 +1521,7 @@ setting_display_related_issues_table_headers: 顯示表格標題欄位 error_can_not_remove_role_reason_members_html: "<p>下列專案中有成員 屬於此角色:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/config/locales/zh.yml b/config/locales/zh.yml index 11a5dcdb9..84ba6e80f 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -1443,3 +1443,7 @@ zh: setting_display_related_issues_table_headers: Show table headers error_can_not_remove_role_reason_members_html: "<p>The following projects have members with this role:<br>%{projects}</p>" + setting_reactions_enabled: Enable reactions + reaction_text_x_other_users: + one: 1 other + other: "%{count} others" diff --git a/test/system/issues_test.rb b/test/system/issues_test.rb index 80ef25e0c..c161538e7 100644 --- a/test/system/issues_test.rb +++ b/test/system/issues_test.rb @@ -34,6 +34,8 @@ class IssuesSystemTest < ApplicationSystemTestCase find('input[name=commit]').click end + assert_text /Issue #\d+ created./ + # find created issue issue = Issue.find_by_subject("new test issue") assert_kind_of Issue, issue @@ -86,6 +88,7 @@ class IssuesSystemTest < ApplicationSystemTestCase fill_in field2.name, :with => 'CF2 value' assert_difference 'Issue.count' do page.first(:button, 'Create').click + assert_text /Issue #\d+ created./ end issue = Issue.order('id desc').first @@ -125,6 +128,7 @@ class IssuesSystemTest < ApplicationSystemTestCase end assert_difference 'Issue.count' do find('input[name=commit]').click + assert_text /Issue #\d+ created./ end issue = Issue.order('id desc').first @@ -141,6 +145,7 @@ class IssuesSystemTest < ApplicationSystemTestCase attach_file 'attachments[dummy][file]', Rails.root.join('test/fixtures/files/testfile.txt') fill_in 'attachments[1][description]', :with => 'Some description' click_on 'Create' + assert_text /Issue #\d+ created./ end assert_equal 1, issue.attachments.count assert_equal 'Some description', issue.attachments.first.description @@ -163,6 +168,7 @@ class IssuesSystemTest < ApplicationSystemTestCase attach_file 'attachments[dummy][file]', Rails.root.join('test/fixtures/files/testfile.txt') fill_in 'attachments[1][description]', :with => 'Some description' click_on 'Create' + assert_text /Issue #\d+ created./ end assert_equal 1, issue.attachments.count assert_equal 'Some description', issue.attachments.first.description @@ -181,6 +187,7 @@ class IssuesSystemTest < ApplicationSystemTestCase click_on 'Create' end click_on 'Create' + assert_text /Issue #\d+ created./ end end @@ -200,6 +207,7 @@ class IssuesSystemTest < ApplicationSystemTestCase end assert_difference 'Issue.count' do click_button('Create') + assert_text /Issue #\d+ created./ end issue = Issue.order('id desc').first @@ -230,6 +238,7 @@ class IssuesSystemTest < ApplicationSystemTestCase fill_in 'Form update CF', :with => 'CF value' assert_no_difference 'Issue.count' do page.first(:button, 'Submit').click + assert_text 'Successful update.' end assert page.has_css?('#flash_notice') issue = Issue.find(1) @@ -245,6 +254,7 @@ class IssuesSystemTest < ApplicationSystemTestCase page.find("#issue_status_id").select("Closed") assert_no_difference 'Issue.count' do page.first(:button, 'Submit').click + assert_text 'Successful update.' end assert page.has_css?('#flash_notice') assert_equal 5, issue.reload.status.id @@ -267,6 +277,7 @@ class IssuesSystemTest < ApplicationSystemTestCase click_on 'Submit' + assert_text 'Successful update.' assert_equal 3, Issue.find(2).attachments.count end diff --git a/test/system/sudo_mode_test.rb b/test/system/sudo_mode_test.rb index 73e755acd..307d465ff 100644 --- a/test/system/sudo_mode_test.rb +++ b/test/system/sudo_mode_test.rb @@ -48,7 +48,6 @@ class SudoModeSystemTest < ApplicationSystemTestCase find('input[name=commit]').click end - assert_equal '/users', current_path assert page.has_content?("Confirm your password to continue") assert page.has_css?('form#sudo-form') @@ -56,6 +55,8 @@ class SudoModeSystemTest < ApplicationSystemTestCase fill_in 'Password', :with => 'admin' click_button 'Submit' end + + assert_text /User johnpaul created./ end end diff --git a/test/system/timelog_test.rb b/test/system/timelog_test.rb index 57c521096..38c3ae19c 100644 --- a/test/system/timelog_test.rb +++ b/test/system/timelog_test.rb @@ -49,6 +49,8 @@ class TimelogTest < ApplicationSystemTestCase select 'QA', :from => 'Activity' page.first(:button, 'Submit').click + assert_text 'Successful update.' + entries = TimeEntry.where(:id => [1, 2, 3]).to_a assert entries.all? {|entry| entry.hours == 8.5} assert entries.all? {|entry| entry.activity.name == 'QA'} @@ -89,6 +91,7 @@ class TimelogTest < ApplicationSystemTestCase select 'Tracker', :from => 'Available Columns' page.first('input[type=button].move-right').click click_on 'Save' + assert_text 'Successful update.' # Display the list with updated settings visit '/time_entries' |