##// END OF EJS Templates
Rails4: replace deprecated Relation#update_all at ProjectTest...
Toshi MARUYAMA -
r12279:494a13d004b9
parent child
Show More
@@ -133,8 +133,7 class ProjectTest < ActiveSupport::TestCase
133 end
133 end
134
134
135 def test_identifier_should_not_be_frozen_for_a_saved_project_with_blank_identifier
135 def test_identifier_should_not_be_frozen_for_a_saved_project_with_blank_identifier
136 Project.update_all(["identifier = ''"], "id = 1")
136 Project.where(:id => 1).update_all(["identifier = ''"])
137
138 assert_equal false, Project.find(1).identifier_frozen?
137 assert_equal false, Project.find(1).identifier_frozen?
139 end
138 end
140
139
General Comments 0
You need to be logged in to leave comments. Login now