diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-10-13 11:00:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-13 11:00:11 +0200 |
commit | 3283868e28794d7abe217c525aadf5e7b9e2fa66 (patch) | |
tree | a78887821d2ebf0d3f294703078d4c9e4e5772d3 /spec/controllers | |
parent | dc91fd482a65cca24ae6f66f92e8e924124fce43 (diff) |
Improve spec of Feed and UserTrackingConcern (#5367)
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/concerns/user_tracking_concern_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/controllers/concerns/user_tracking_concern_spec.rb b/spec/controllers/concerns/user_tracking_concern_spec.rb index 6bd29f887..168d44ba6 100644 --- a/spec/controllers/concerns/user_tracking_concern_spec.rb +++ b/spec/controllers/concerns/user_tracking_concern_spec.rb @@ -5,6 +5,7 @@ require 'rails_helper' describe ApplicationController, type: :controller do controller do include UserTrackingConcern + def show render plain: 'show' end @@ -49,6 +50,7 @@ describe ApplicationController, type: :controller do get :show expect_updated_sign_in_at(user) + expect(Redis.current.get("account:#{user.account_id}:regeneration")).to eq 'true' expect(RegenerationWorker).to have_received(:perform_async) end |