]> source.dussan.org Git - redmine.git/commitdiff
remove spaces inside {} of test/unit/member_test.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 18 Nov 2020 16:16:07 +0000 (16:16 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 18 Nov 2020 16:16:07 +0000 (16:16 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20422 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/member_test.rb

index 3a2eda5aa521e8146cd2022ab8928aed9e3946a4..d774676ce82ffb72e8f33b0dcc9c9eb90c48273a 100644 (file)
@@ -120,13 +120,13 @@ class MemberTest < ActiveSupport::TestCase
         @jsmith.destroy
       end
     end
-    assert_raise(ActiveRecord::RecordNotFound) { Member.find(@jsmith.id) }
+    assert_raise(ActiveRecord::RecordNotFound) {Member.find(@jsmith.id)}
     category1.reload
     assert_nil category1.assigned_to_id
   end
 
   def test_destroy_should_trigger_callbacks_only_once
-    Member.class_eval { def destroy_test_callback; end}
+    Member.class_eval {def destroy_test_callback; end}
     Member.after_destroy :destroy_test_callback
 
     m = Member.create!(:user_id => 1, :project_id => 1, :role_ids => [1, 3])