Sha256: 30da672daed615843719541009a22543c131c6661a61ab8229dfa1abb3e20ea0

Contents?: true

Size: 379 Bytes

Versions: 2

Compression:

Stored size: 379 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
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cocoapods-keys-1.2.1 spec/spec_helper.rb
cocoapods-keys-1.2.0 spec/spec_helper.rb