@@ -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 = ''"] |
|
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