Sha256: 692a95ebf27312c0875d17f39708ba3933325acccd5ff401bcfe5679f11a4835
Contents?: true
Size: 372 Bytes
Versions: 6
Compression:
Stored size: 372 Bytes
Contents
require 'rubygems' require 'mocha' require 'builder' require 'pivotal' require File.join(File.dirname(__FILE__), 'factories') Spec::Runner.configure do |config| config.mock_with :mocha end def stub_connection_to_pivotal RestClient::Resource.any_instance.stubs(:get).returns("") end def pivotal_api stub_connection_to_pivotal Pivotal::Api.new :api_token => 1 end
Version data entries
6 entries across 6 versions & 2 rubygems