]> source.dussan.org Git - redmine.git/commitdiff
code layout clean up test_safe_attributes_should_not_include_readonly_fields of unit...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 13 Oct 2012 10:50:49 +0000 (10:50 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 13 Oct 2012 10:50:49 +0000 (10:50 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10639 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/issue_test.rb

index 6d5b21408a13f5fba5e0f14ae0fbd421e8294390..e0964a300985c89d44f21eddbbfdee739368860d 100644 (file)
@@ -498,7 +498,9 @@ class IssueTest < ActiveSupport::TestCase
 
   def test_safe_attributes_should_not_include_readonly_fields
     WorkflowPermission.delete_all
-    WorkflowPermission.create!(:old_status_id => 1, :tracker_id => 1, :role_id => 1, :field_name => 'due_date', :rule => 'readonly')
+    WorkflowPermission.create!(:old_status_id => 1, :tracker_id => 1,
+                               :role_id => 1, :field_name => 'due_date',
+                               :rule => 'readonly')
     user = User.find(2)
 
     issue = Issue.new(:project_id => 1, :tracker_id => 1)