Sha256: f2270f20e187e11fb0323f0290e1b0df1d78eefe06d246d9cbf3c34aa9a76a35

Contents?: true

Size: 634 Bytes

Versions: 2

Compression:

Stored size: 634 Bytes

Contents

require 'rubygems'
require 'rspec'
require 'json'
require 'webmock/rspec'
require 'ruby-debug'

$LOAD_PATH << 'lib'
require 'git_reflow'
require 'github_api'

Dir[File.expand_path('../support/**/*.rb', __FILE__)].each {|f| require f}

RSpec.configure do |config|
  config.include GithubHelpers
  config.include WebMock::API
  config.color_enabled = true
  config.before(:each) do
    WebMock.reset!
  end
end

OAUTH_TOKEN = 'bafec72922f31fe86aacc8aca4261117f3bd62cf'

def reset_authentication_for(object)
  [ 'user', 'repo', 'basic_auth', 'oauth_token', 'login', 'password' ].each do |item|
    object.send("#{item}=", nil)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
git_reflow-0.2.1 spec/spec_helper.rb
git_reflow-0.2 spec/spec_helper.rb