Separate let and subject line in spec
This commit is contained in:
parent
044064baef
commit
15b5b91d20
|
@ -3,6 +3,7 @@ require 'spec_helper'
|
|||
describe CheckGcpProjectBillingWorker do
|
||||
describe '.perform' do
|
||||
let(:token) { 'bogustoken' }
|
||||
|
||||
subject { described_class.new.perform('token_key') }
|
||||
|
||||
context 'when there is a token in redis' do
|
||||
|
|
Loading…
Reference in New Issue