Sha256: f30c0bea2d7532493a362e3e3736323c6208324bc43463f1050b92d5385a31d8

Contents?: true

Size: 890 Bytes

Versions: 1

Compression:

Stored size: 890 Bytes

Contents

require 'bundler'

Bundler.require(:default, :runtime, :test)
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))

require 'pivotal-tracker'
require 'rspec'
require 'rspec/autorun'

PROJECT_ID = ENV['PROJECT_ID'] || "102622"
TOKEN = '8358666c5a593a3c82cda728c8a62b63'

PivotalTracker::Client.token = TOKEN

# tm: hack StaleFish
module StaleFish
  class Fixture
    def is_stale?
      false
    end
  end
end

# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir[File.expand_path(File.join(File.dirname(__FILE__),'support','**','*.rb'))].each {|f| require f}

StaleFish.setup(File.join(File.dirname(__FILE__), 'fixtures', 'stale_fish.yml'))

RSpec.configure do |config|
  # config.include(Rack::Test::Methods)

  config.before :suite do
    StaleFish.update_stale
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pivotal-tracker-0.5.1 spec/spec_helper.rb