spec/spec_helper.rb in git-pivotal-0.2.3 vs spec/spec_helper.rb in git-pivotal-0.8.0

- old
+ new

@@ -1,18 +1,14 @@ -require 'rubygems' +require 'rspec' require 'mocha' require 'builder' -require 'pivotal' +require 'lib/git-pivotal' + require File.join(File.dirname(__FILE__), 'factories') -Spec::Runner.configure do |config| +RSpec.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 \ No newline at end of file