about summary refs log tree commit diff
path: root/spec/services/batched_remove_status_service_spec.rb
diff options
context:
space:
mode:
authorashleyhull-versent <ashley.hull@versent.com.au>2018-10-08 13:50:11 +1100
committerEugen Rochko <eugen@zeonfederated.com>2018-10-08 04:50:11 +0200
commitf194857ac9eeb85f9b27c056c556038aee23cb43 (patch)
treefa6f5dd3df450849f85924b7abbfdb40f73f036b /spec/services/batched_remove_status_service_spec.rb
parenta00ce8c92c06f42109aad5cfe65d46862cf037bb (diff)
rubocop issues - Cleaning up (#8912)
* cleanup pass

* undo mistakes

* fixed.

* revert
Diffstat (limited to 'spec/services/batched_remove_status_service_spec.rb')
-rw-r--r--spec/services/batched_remove_status_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/batched_remove_status_service_spec.rb b/spec/services/batched_remove_status_service_spec.rb
index 23c122e59..c66214555 100644
--- a/spec/services/batched_remove_status_service_spec.rb
+++ b/spec/services/batched_remove_status_service_spec.rb
@@ -19,7 +19,7 @@ RSpec.describe BatchedRemoveStatusService, type: :service do
     stub_request(:post, 'http://example.com/inbox').to_return(status: 200)
 
     Fabricate(:subscription, account: alice, callback_url: 'http://example.com/push', confirmed: true, expires_at: 30.days.from_now)
-    jeff.user.update(current_sign_in_at: Time.now)
+    jeff.user.update(current_sign_in_at: Time.zone.now)
     jeff.follow!(alice)
     hank.follow!(alice)