Sha256: e99d6aee7d818fc4c3573ac6e0396bec9aa4fda24c13ca6dd469ec29363f0319
Contents?: true
Size: 651 Bytes
Versions: 2
Compression:
Stored size: 651 Bytes
Contents
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require 'libgss' require 'tengine/support/yaml_with_erb' # see https://github.com/tengine/fontana/pull/3 require 'httpclient' def request_fixture_load(fixture_name) c = HTTPClient.new c.post("http://localhost:3000/libgss_test/fixture_loadings/#{fixture_name}.json", "_method" => "put") end def new_network(url = "http://localhost:3000", player_id = "1000001") config = YAML.load_file(File.expand_path("../../fontana_sample/config/app_garden.yml", __FILE__)) opts = { consumer_secret: config["consumer_secret"], player_id: player_id } Libgss::Network.new(url, opts) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
libgss-0.4.1 | spec/spec_helper.rb |
libgss-0.4.0 | spec/spec_helper.rb |