Sha256: 573258e60dcef75dafdd3d430a3b13e3d0231d3d05fb70dc1fdda326709d5601
Contents?: true
Size: 706 Bytes
Versions: 2
Compression:
Stored size: 706 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! c.allow_http_connections_when_no_cassette = true 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 def delete_all_agent_pools TeamcityRuby::AgentPool.all.each do |p| p.destroy! end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
teamcity_ruby-0.0.6 | spec/spec_helper.rb |
teamcity_ruby-0.0.5 | spec/spec_helper.rb |