fix rubocop warnings
authorMikel Maron <mikel_maron@yahoo.com>
Fri, 7 Oct 2016 10:36:14 +0000 (06:36 -0400)
committerMikel Maron <mikel_maron@yahoo.com>
Fri, 7 Oct 2016 10:36:14 +0000 (06:36 -0400)
test/controllers/diary_entry_controller_test.rb

index 77d340ffe90c29ce0b28d8ba216ac3d5af1c09b4..ed92de66fb559d1cfd2c6a4a8fe9c4948c22e9f3 100644 (file)
@@ -691,7 +691,7 @@ class DiaryEntryControllerTest < ActionController::TestCase
     # trying to subscribe when already subscribed
     post :subscribe, { :id => diary_entry.id, :display_name => diary_entry.user.display_name }, { :user => users(:public_user).id }
     assert_no_difference "diary_entry.subscribers.count" do
-      post :subscribe, { :id => diary_entry.id, :display_name => diary_entry.user.display_name}, { :user => users(:public_user).id }
+      post :subscribe, { :id => diary_entry.id, :display_name => diary_entry.user.display_name }, { :user => users(:public_user).id }
     end
   end