Sha256: a6e4d2812388994c1bb4d9460dc348a3360be72acd2c6d8680b00ef138123cbe

Contents?: true

Size: 271 Bytes

Versions: 3

Compression:

Stored size: 271 Bytes

Contents

require 'spec_helper'
require 'battlenet'

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

  it "fetches quest data" do
    VCR.use_cassette('quest') do
      quest = api.quest '28096'
      quest['title'].should == "Welcome to the Machine"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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