about summary refs log tree commit diff
path: root/spec
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-09-18 13:42:24 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-09-18 13:42:24 +0200
commit9863196f7bf007aedf5f832a20dcd6f519dbf383 (patch)
tree2d3dad50c2be49fca189cac1e8d37c93f9059675 /spec
parentaf375b5bacf80c0a45b3c9bbebf820db24936d1f (diff)
Small rubocop offences removed
Diffstat (limited to 'spec')
-rw-r--r--spec/controllers/accounts_controller_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/accounts_controller_spec.rb b/spec/controllers/accounts_controller_spec.rb
index 322b26f0b..34f17a943 100644
--- a/spec/controllers/accounts_controller_spec.rb
+++ b/spec/controllers/accounts_controller_spec.rb
@@ -8,10 +8,10 @@ RSpec.describe AccountsController, type: :controller do
   describe 'GET #show' do
     before do
       status1 = Status.create!(account: alice, text: 'Hello world')
-      status2 = Status.create!(account: alice, text: 'Boop', thread: status1)
+      Status.create!(account: alice, text: 'Boop', thread: status1)
       status3 = Status.create!(account: alice, text: 'Picture!')
       status3.media_attachments.create!(account: alice, file: fixture_file_upload('files/attachment.jpg', 'image/jpeg'))
-      status4 = Status.create!(account: alice, text: 'Mentioning @alice')
+      Status.create!(account: alice, text: 'Mentioning @alice')
     end
 
     context 'atom' do