Sha256: b00ff4144c06d5574f1a5f5c3b5eda37eac4a5d01508de4827e887eb24fb3ef1

Contents?: true

Size: 206 Bytes

Versions: 4

Compression:

Stored size: 206 Bytes

Contents

module TestEnv
  def config_file(ext = 'yml')
    File.join(root, "spec/support/config.#{ext}")
  end

  def root
    support = File.dirname __dir__
    File.expand_path(File.join(support, ".."))
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
figly-1.0.4 spec/support/test_env.rb
figly-1.0.3 spec/support/test_env.rb
figly-1.0.2 spec/support/test_env.rb
figly-1.0.1 spec/support/test_env.rb