Skip to content

Instantly share code, notes, and snippets.

@sustr4
Created February 5, 2014 11:37
Show Gist options
  • Save sustr4/8821822 to your computer and use it in GitHub Desktop.
Save sustr4/8821822 to your computer and use it in GitHub Desktop.
before(:each) do
require './spec/occi/api/client/auth_details.rb'
@client = Occi::Api::Client::ClientHttp.new({
:endpoint => in_endpoint,
:auth => in_auth,
:log => { :out => "/dev/null",
:level => Occi::Log::DEBUG },
:auto_connect => true,
:media_type => "text/plain,text/occi"
})
end
in_endpoint = 'https://localhost:3300'
in_auth = { :type => "none" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment