Sha256: 3c61106aaf556a60dc0ad2483614cc570b2a801bfaa1d20180a0b893d67bfabe

Contents?: true

Size: 745 Bytes

Versions: 11

Compression:

Stored size: 745 Bytes

Contents

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))

require 'git_pivotal_tracker'
require 'rspec'
require 'webmock/rspec'

FIXTURES_PATH = File.join(File.dirname(__FILE__), 'fixtures')

RSpec.configure do |config|
  # == Mock Framework
  #
  # RSpec uses it's own mocking framework by default. If you prefer to
  # use mocha, flexmock or RR, uncomment the appropriate line:
  #
  # config.mock_with :mocha
  # config.mock_with :flexmock
  # config.mock_with :rr
end

def stub_git_config(opts = {})
  git_options = {
    "pivotal.api-token" => "8a8a8a8",
    "pivotal.project-id" => "123"
  }.merge opts
  Grit::Repo.stub!(:new).and_return mock('Grit::Repo', :config => git_options)
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
git_pivotal_tracker-0.2.1 spec/spec_helper.rb
git_pivotal_tracker-0.2.0 spec/spec_helper.rb
git_pivotal_tracker-0.1.0 spec/spec_helper.rb
git_pivotal_tracker-0.0.9 spec/spec_helper.rb
git_pivotal_tracker_x-0.1.1 spec/spec_helper.rb
git_pivotal_tracker-0.0.8 spec/spec_helper.rb
git_pivotal_tracker-0.0.7 spec/spec_helper.rb
git_pivotal_tracker-0.0.6 spec/spec_helper.rb
git_pivotal_tracker-0.0.5 spec/spec_helper.rb
git_pivotal_tracker-0.0.4 spec/spec_helper.rb
git_pivotal_tracker-0.0.3 spec/spec_helper.rb