Sha256: d96c4a08cf845ec6977a9979e3b4a9208e75a8ae582956a3a44c67242bf4dcab

Contents?: true

Size: 399 Bytes

Versions: 4

Compression:

Stored size: 399 Bytes

Contents

$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)

def clang_available
  # uses a shell to ensure we get a reasonable PATH
  system('which -s clang')
end

def fixture(name)
  File.join(__dir__, 'fixtures', name)
end

RSpec.configure do |c|
  # exclude tests requiring clang when it's unavailable
  c.filter_run_excluding :requires_clang => true unless clang_available

  c.color = true
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cocoapods-keys-1.4.0 spec/spec_helper.rb
cocoapods-keys-1.3.2 spec/spec_helper.rb
cocoapods-keys-1.3.1 spec/spec_helper.rb
cocoapods-keys-1.3.0 spec/spec_helper.rb