diff --git a/hearth/spec/hearth/refreshing_identity_resolver_spec.rb b/hearth/spec/hearth/refreshing_identity_resolver_spec.rb index b80a0afc3..dbc21952d 100644 --- a/hearth/spec/hearth/refreshing_identity_resolver_spec.rb +++ b/hearth/spec/hearth/refreshing_identity_resolver_spec.rb @@ -45,6 +45,7 @@ def refresh(properties = {}) end it 'refreshes synchronously' do + expect(Thread).not_to receive(:new) expect(proc).to receive(:call) .with(properties).and_return(near_sync_expiration_identity) expect(proc).to receive(:call)