Sha256: f67c97e2b93a32dc7bc58cc1683400179e14af7f54e0bf42a582754aa8f1ce6c
Contents?: true
Size: 533 Bytes
Versions: 16
Compression:
Stored size: 533 Bytes
Contents
require File.expand_path('../spec_helper', __FILE__) describe CocoaPodsStats::OptOutValidator do describe 'validates' do it 'returns no when there is an env var' do ENV['COCOAPODS_DISABLE_STATS'] = 'true' subject = CocoaPodsStats::OptOutValidator.new subject.should.not.validates end it 'returns yes when given a master repo that is cocoapods/specs' do ENV['COCOAPODS_DISABLE_STATS'] = nil subject = CocoaPodsStats::OptOutValidator.new subject.should.validates end end end
Version data entries
16 entries across 16 versions & 2 rubygems