Sha256: 08c4267a7e702d7e0d238733629f16c379ee1a6e5dec190e98914d9488195dbc

Contents?: true

Size: 793 Bytes

Versions: 4

Compression:

Stored size: 793 Bytes

Contents

require 'rubygems'
require 'bundler'
require 'stale_fish'

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

require 'pivotal-tracker'
require 'spec'
require 'spec/autorun'

PROJECT_ID = ENV['PROJECT_ID'] || "59022"
TOKEN = 'a40c739c5c2499461fcae008dda48b8c'

# 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'))

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

  config.before :suite do
    StaleFish.update_stale
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pivotal-tracker-0.2.0 spec/spec_helper.rb
pivotal-tracker-0.1.3 spec/spec_helper.rb
pivotal-tracker-0.1.2 spec/spec_helper.rb
pivotal-tracker-0.1.1 spec/spec_helper.rb