Separate let and subject line in spec

This commit is contained in:
Matija Čupić 2018-01-07 15:07:37 +01:00
parent 044064baef
commit 15b5b91d20
No known key found for this signature in database
GPG Key ID: 4BAF84FFACD2E5DE
1 changed files with 1 additions and 0 deletions

View File

@ -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