Fix specs
This commit is contained in:
parent
ec9bcacd46
commit
fcf9a065e1
@ -1,6 +1,6 @@
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe ExpireRemoteStorageAuthorizationJob, type: :job do
|
||||
RSpec.describe RemoteStorageExpireAuthorizationJob, type: :job do
|
||||
before do
|
||||
@user = create :user, cn: "ronald", ou: "kosmos.org"
|
||||
@rs_authorization = create :remote_storage_authorization, user: @user, expire_at: 1.day.ago
|
||||
@ -16,7 +16,7 @@ RSpec.describe ExpireRemoteStorageAuthorizationJob, type: :job do
|
||||
}
|
||||
|
||||
let(:redis) {
|
||||
@redis ||= Redis.new(url: Setting.redis_url)
|
||||
@redis ||= Redis.new(url: Setting.rs_redis_url)
|
||||
}
|
||||
|
||||
it "removes the RS authorization from redis" do
|
Loading…
x
Reference in New Issue
Block a user