Sha256: fa9d43ac13373c1e797539fbe18d7fa6ebd38d55f58a347e8356f98b230e4bed

Contents?: true

Size: 338 Bytes

Versions: 4

Compression:

Stored size: 338 Bytes

Contents

require 'spec_helper'
require 'battlenet'

describe Battlenet::Arena do
  let(:api) { Battlenet.new }

  it "fetches arena data" do
    VCR.use_cassette('arena_fun_and_profit') do
      # Don't make fun of me >.<
      arena = api.arena 'nazjatar', '2v2', 'Fun And Profit'
      arena['sessionGamesPlayed'].should == 23
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
battlenet-1.2.0 spec/integration/arena_spec.rb
battlenet-1.1.1 spec/integration/arena_spec.rb
battlenet-1.1.0 spec/integration/arena_spec.rb
battlenet-1.0.0 spec/integration/arena_spec.rb