Sha256: 1f1b86fabb6414866704643d1878e4f0052d4f4b972bd4a51954c5a7e99e56bc

Contents?: true

Size: 479 Bytes

Versions: 2

Compression:

Stored size: 479 Bytes

Contents

require "mellon"

$stderr.puts "If asked for a password, just press enter. There is no password."

keychain_path = File.expand_path("./temporary_keychain.keychain", __dir__)
original_keychain_path = File.expand_path("./keychain.keychain", __dir__)

RSpec.configure do |config|
  config.around do |example|
    FileUtils.cp(original_keychain_path, keychain_path)
    example.run
    FileUtils.rm(keychain_path)
  end

  define_method :keychain_path do
    keychain_path
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mellon-1.1.0 spec/spec_helper.rb
mellon-1.0.0 spec/spec_helper.rb