Sha256: 79f17b782012db8fb7b7ce38a3b0f06399036b66ef596a07dad9ec001f118903

Contents?: true

Size: 564 Bytes

Versions: 6

Compression:

Stored size: 564 Bytes

Contents

# -*- coding: utf-8 -*-
require 'spec_helper'

describe Libgss::AsyncActionRequest do
  before do
    request_fixture_load("01_basic")
  end

  let(:network) do
    network = new_network
    network.login.should == true
    network
  end

  let(:request) do
    network.new_async_action_request
  end

  describe "#get" do
    context "Player" do
      it do
        request.get_by_player
        request.send_request do |outputs|
          outputs.length.should == 1
          outputs[0]['status'].should eq('executing')
        end
      end
    end

  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
libgss-0.7.5 spec/libgss/async_action_request_spec.rb
libgss-0.7.4 spec/libgss/async_action_request_spec.rb
libgss-0.7.3 spec/libgss/async_action_request_spec.rb
libgss-0.7.2 spec/libgss/async_action_request_spec.rb
libgss-0.7.1 spec/libgss/async_action_request_spec.rb
libgss-0.7.0 spec/libgss/async_action_request_spec.rb