##// END OF EJS Templates
Rails4: replace deprecated Relation#update_all at application helper test...
Toshi MARUYAMA -
r12215:a8c8266b9d9a
parent child
Show More
@@ -1148,8 +1148,7 RAW
1148 1148
1149 1149 def test_link_to_legacy_project_with_numerical_identifier_should_use_id
1150 1150 # numeric identifier are no longer allowed
1151 Project.update_all "identifier=25", "id=1"
1152
1151 Project.where(:id => 1).update_all(:identifier => 25)
1153 1152 assert_equal '<a href="/projects/1">eCookbook</a>',
1154 1153 link_to_project(Project.find(1))
1155 1154 end
General Comments 0
You need to be logged in to leave comments. Login now