Sha256: 983f38f0cc8e83e159d26839618fce815878a03234b9b4aa0d7f44153e86e0a5

Contents?: true

Size: 462 Bytes

Versions: 9

Compression:

Stored size: 462 Bytes

Contents

require 'git'

module GitSupport
  extend self

  def project_name; 'the-perfect-gem'; end
  def name; 'foo'; end
  def email; 'bar@example.com'; end
  def github_user; 'technicalpickles'; end
  def github_token; 'zomgtoken'; end

  def valid_config
    { 'user.name' => name, 'user.email' => email, 'github.user' => github_user, 'github.token' => github_token }
  end

  def stub_config(options = {})
    Git.stub!(:global_config).and_return(options)
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
bueller-0.0.9 spec/support/git.rb
bueller-0.0.8 spec/support/git.rb
bueller-0.0.7 spec/support/git.rb
bueller-0.0.6 spec/support/git.rb
bueller-0.0.5 spec/support/git.rb
bueller-0.0.4 spec/support/git.rb
bueller-0.0.3 spec/support/git.rb
bueller-0.0.2 spec/support/git.rb
bueller-0.0.1 spec/support/git.rb