]> source.dussan.org Git - redmine.git/commitdiff
cleanup: rubocop: fix Layout/SpaceInsideBlockBraces in test/unit/watcher_test.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 26 Nov 2019 06:30:11 +0000 (06:30 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 26 Nov 2019 06:30:11 +0000 (06:30 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19314 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/watcher_test.rb

index 27b87aede2a7237e4160082fc94f76d6e2196c14..761bf5a718185fc238b2d11134ffcf6b0bbd837f 100644 (file)
@@ -42,7 +42,7 @@ class WatcherTest < ActiveSupport::TestCase
   def test_watch
     assert @issue.add_watcher(@user)
     @issue.reload
-    assert @issue.watchers.detect { |w| w.user == @user }
+    assert @issue.watchers.detect {|w| w.user == @user}
   end
 
   def test_cant_watch_twice