summaryrefslogtreecommitdiffstats
path: root/test/unit/user_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-25 09:08:34 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-25 09:08:34 +0000
commit71072f619c26c83a6a5ce82627e11ea1dce9ade4 (patch)
tree54229a33a5e21af9b1e0e68dd2a06b7102fa1456 /test/unit/user_test.rb
parent7cc5f37eeb6b746e8cb2262056c89bc212d14ef2 (diff)
downloadredmine-71072f619c26c83a6a5ce82627e11ea1dce9ade4.tar.gz
redmine-71072f619c26c83a6a5ce82627e11ea1dce9ade4.zip
cleanup: rubocop: fix Layout/ClosingParenthesisIndentation in test/unit/user_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19291 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/user_test.rb')
-rw-r--r--test/unit/user_test.rb24
1 files changed, 14 insertions, 10 deletions
diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb
index 661d8936a..4f158904e 100644
--- a/test/unit/user_test.rb
+++ b/test/unit/user_test.rb
@@ -446,16 +446,20 @@ class UserTest < ActiveSupport::TestCase
end
def test_destroy_should_nullify_changesets
- changeset = Changeset.create!(
- :repository => Repository::Subversion.create!(
- :project_id => 1,
- :url => 'file:///tmp',
- :identifier => 'tmp'
- ),
- :revision => '12',
- :committed_on => Time.now,
- :committer => 'jsmith'
- )
+ changeset =
+ Changeset.
+ create!(
+ :repository =>
+ Repository::Subversion.
+ create!(
+ :project_id => 1,
+ :url => 'file:///tmp',
+ :identifier => 'tmp'
+ ),
+ :revision => '12',
+ :committed_on => Time.now,
+ :committer => 'jsmith'
+ )
assert_equal 2, changeset.user_id
User.find(2).destroy