Sha256: 8a782ba1ec3ff66b871e351b9601a256046d22e51c0a2cfc3d6c73cd251cee9f
Contents?: true
Size: 657 Bytes
Versions: 1
Compression:
Stored size: 657 Bytes
Contents
if ENV['COVERAGE'] raise "simplecov only works on 1.9" unless RUBY_PLATFORM >= "1.9" require 'simplecov' SimpleCov.start { add_filter "spec/" } end $:.unshift File.expand_path("../../lib", __FILE__) require "bamboo-client" module Bamboo::Client::SpecHelper def xml_fixture(name) path = File.join fixture_path("#{name}.xml") Nokogiri.XML File.read(path) end def fixture_path(file) dir = File.expand_path("../fixtures", __FILE__) File.join dir, file end class Wrapper attr_reader :obj def initialize(obj) @obj = obj end end end RSpec.configure do |c| c.include Bamboo::Client::SpecHelper end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bamboo-client-0.0.1 | spec/spec_helper.rb |