Sha256: b2e7a23c5fcc1e3f3c39485310554920a36946d51ec9b31094533bc454b353bb

Contents?: true

Size: 560 Bytes

Versions: 2

Compression:

Stored size: 560 Bytes

Contents

require 'bundler/setup'
Bundler.setup

require 'teamcity_ruby'

require 'vcr'

VCR.configure do |c|
  c.cassette_library_dir = 'spec/cassettes'
  c.hook_into :webmock
  c.configure_rspec_metadata!
end

RSpec.configure do |c|
  c.treat_symbols_as_metadata_keys_with_true_values = true
end

TeamcityRuby.configure do |c|
  c.base_uri 'http://localhost:8111/httpAuth/app/rest/'
end

def delete_all_projects
  TeamcityRuby::Project.all.each do |p|
    p.destroy!
  end
end

def delete_all_vcs_roots
  TeamcityRuby::VcsRoot.all.each do |p|
    p.destroy!
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
teamcity_ruby-0.0.2 spec/spec_helper.rb
teamcity_ruby-0.0.1 spec/spec_helper.rb