@@ -1148,8 +1148,7 RAW | |||||
1148 |
|
1148 | |||
1149 | def test_link_to_legacy_project_with_numerical_identifier_should_use_id |
|
1149 | def test_link_to_legacy_project_with_numerical_identifier_should_use_id | |
1150 | # numeric identifier are no longer allowed |
|
1150 | # numeric identifier are no longer allowed | |
1151 |
Project.update_all |
|
1151 | Project.where(:id => 1).update_all(:identifier => 25) | |
1152 |
|
||||
1153 | assert_equal '<a href="/projects/1">eCookbook</a>', |
|
1152 | assert_equal '<a href="/projects/1">eCookbook</a>', | |
1154 | link_to_project(Project.find(1)) |
|
1153 | link_to_project(Project.find(1)) | |
1155 | end |
|
1154 | end |
General Comments 0
You need to be logged in to leave comments.
Login now