Sha256: 4c92016daf4cf1da725d8235212540ac5a147b97421836a52def43d3379b41a6

Contents?: true

Size: 640 Bytes

Versions: 3

Compression:

Stored size: 640 Bytes

Contents

require 'rubygems'
require 'rspec'
require 'multi_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

3 entries across 3 versions & 1 rubygems

Version Path
git_reflow-0.2.5 spec/spec_helper.rb
git_reflow-0.2.4 spec/spec_helper.rb
git_reflow-0.2.2 spec/spec_helper.rb