Commit 15b5b91d authored by Matija Čupić's avatar Matija Čupić

Separate let and subject line in spec

parent 044064ba
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment