Sha256: 946c1aa07c38679d8e111fd4b11d9f0fc76a4f636cac23c7e4c8ae9a09065e54

Contents?: true

Size: 297 Bytes

Versions: 4

Compression:

Stored size: 297 Bytes

Contents

require 'yaml'


def default_config
    KashflowApi.configure do |c|
        c.username = yaml["username"]
        c.password = yaml["password"]
        c.loggers = false
    end
end

def yaml
    @yaml ||= YAML::load(File.open('spec/test_data.yml'))
end

def test_data(field)
    @yaml[field]
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kashflow_api-0.0.2 spec/spec_helper.rb
kashflow_api-0.0.1 spec/spec_helper.rb
kashflow_api-0.0.1rc1 spec/spec_helper.rb
kashflow_api-0.0.1pre spec/spec_helper.rb