Sha256: 72869783c1fa69accd2c48d37a581d8f89d04082fde19a0c3b4168706f21f02c
Contents?: true
Size: 381 Bytes
Versions: 2
Compression:
Stored size: 381 Bytes
Contents
ENV['ENV'] = 'test' $root = File.expand_path('../../', __FILE__) require "#{$root}/lib/gitcycle" def gitcycle_instance gitcycle = Gitcycle.new account = load_account_yaml gitcycle.instance_eval do @login = account['login'] @token = account['token'] end gitcycle end def load_account_yaml YAML.load_file("#{File.dirname(__FILE__)}/config/gitcycle.yml") end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gitcycle-0.3.5 | spec/spec_helper.rb |
gitcycle-0.3.4 | spec/spec_helper.rb |