Sha256: 9e03f34300a883ecaf5535620f5badfa603f7341ecdc3c0d0dcb415abcf1a2fa

Contents?: true

Size: 685 Bytes

Versions: 24

Compression:

Stored size: 685 Bytes

Contents

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'ruby-fs-stack'
require 'spec'
require 'spec/autorun'
require 'fakeweb'

Spec::Runner.configure do |config|
  
end

module HttpCommunicatorHelper
  
  def stub_net_objects
    @request = mock("Net::HTTP::Get|Post")
    @request.stub!(:[]=)
    @request.stub!(:body=)
    @http = mock("Net::HTTP")
    Net::HTTP.stub!(:new).and_return(@http)
    Net::HTTP::Get.stub!(:new).and_return(@request)
    Net::HTTP::Post.stub!(:new).and_return(@request)
    @http.stub!(:use_ssl=)
    @http.stub!(:ca_file=)
    @http.stub!(:verify_mode=)
    @http.stub!(:start)
  end
  
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
ruby-fs-stack-0.5.3 spec/spec_helper.rb
ruby-fs-stack-0.5.2 spec/spec_helper.rb
ruby-fs-stack-0.5.1 spec/spec_helper.rb
ruby-fs-stack-0.5.0 spec/spec_helper.rb
ruby-fs-stack-0.4.12 spec/spec_helper.rb
ruby-fs-stack-0.4.11 spec/spec_helper.rb
ruby-fs-stack-0.4.10 spec/spec_helper.rb
ruby-fs-stack-0.4.9 spec/spec_helper.rb
ruby-fs-stack-0.4.8 spec/spec_helper.rb
ruby-fs-stack-0.4.7 spec/spec_helper.rb
ruby-fs-stack-0.4.6 spec/spec_helper.rb
ruby-fs-stack-0.4.5 spec/spec_helper.rb
ruby-fs-stack-0.4.4 spec/spec_helper.rb
ruby-fs-stack-0.4.3 spec/spec_helper.rb
ruby-fs-stack-0.4.2 spec/spec_helper.rb
ruby-fs-stack-0.4.0 spec/spec_helper.rb
ruby-fs-stack-0.3.3 spec/spec_helper.rb
ruby-fs-stack-0.3.2 spec/spec_helper.rb
ruby-fs-stack-0.3.0 spec/spec_helper.rb
ruby-fs-stack-0.2.6 spec/spec_helper.rb