Fix CheckGcpProjectBillingWorker spec

This commit is contained in:
Matija Čupić 2018-01-11 01:38:47 +01:00
parent e52bae3b9e
commit b8b2f5ffd7
No known key found for this signature in database
GPG key ID: 4BAF84FFACD2E5DE

View file

@ -8,7 +8,7 @@ describe CheckGcpProjectBillingWorker do
context 'when there is a token in redis' do
before do
allow_any_instance_of(described_class).to receive(:get_session_token).and_return(token)
allow(described_class).to receive(:get_session_token).and_return(token)
end
context 'when there is no lease' do