Sha256: 6a8d0d17a8d9cb9a8afa26b393738a089f074559eca6de5cb01aa53023389332
Contents?: true
Size: 709 Bytes
Versions: 2
Compression:
Stored size: 709 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 class FakeKeychainItem attr_accessor :password def initialize(password) @password = password end end class FakeKeychain def initialize(data) @data = data end def where(conditions) password = @data[conditions[:account]] item = FakeKeychainItem.new(password) [item] end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cocoapods-keys-2.3.1 | spec/spec_helper.rb |
cocoapods-keys-2.3.0 | spec/spec_helper.rb |