summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-18 16:16:07 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-18 16:16:07 +0000
commit675ec6f929dd7539f7dbc69b2502ef4fbbebcc57 (patch)
tree4d0dab72caa65525107e262c4a3cf72ebed6f0e3
parenteb38c7be62a31adceec84d9f3a9a46f275eaca47 (diff)
downloadredmine-675ec6f929dd7539f7dbc69b2502ef4fbbebcc57.tar.gz
redmine-675ec6f929dd7539f7dbc69b2502ef4fbbebcc57.zip
remove spaces inside {} of test/unit/member_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20422 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--test/unit/member_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/member_test.rb b/test/unit/member_test.rb
index 3a2eda5aa..d774676ce 100644
--- a/test/unit/member_test.rb
+++ b/test/unit/member_test.rb
@@ -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])