Sha256: 203bb5af90cd020d32c4554fdc2fd4232052a7f545d420f065eafb5efc2a6ff1

Contents?: true

Size: 418 Bytes

Versions: 1

Compression:

Stored size: 418 Bytes

Contents

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'rubygems'
require 'net/dav'
require 'spec'
require 'spec/autorun'

Spec::Runner.configure do |config|

end

# Profind helper. Returns properties or error
def find_props_or_error(dav, path)
  begin
    return dav.propfind(path).to_s
  rescue Net::HTTPServerException => e
    return e.to_s
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
net_dav-0.4.0 spec/spec_helper.rb