Sha256: 5afa63d1d4cb47b5b4f16afc121610c2bc85e3639c54de2f6ed62dc93dbd792a
Contents?: true
Size: 468 Bytes
Versions: 3
Compression:
Stored size: 468 Bytes
Contents
$:.unshift File.expand_path("../../../lib", __FILE__) require "bamboo-client" module BambooClientHelper attr_reader :client def use(what) @client = Bamboo::Client.for what, url end def url fetch_env 'BAMBOO_URL' end def user fetch_env 'BAMBOO_USER' end def password fetch_env 'BAMBOO_PASSWORD' end private def fetch_env(var) ENV[var] or raise "#{var} must be set for cucumber tests" end end World(BambooClientHelper)
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bamboo-client-0.0.3 | features/support/env.rb |
bamboo-client-0.0.2 | features/support/env.rb |
bamboo-client-0.0.1 | features/support/env.rb |