Sha256: 27dcff4a89c1ba90fefd4b388a63fceb141a2871f97df70da2974f9f47e6c64c
Contents?: true
Size: 270 Bytes
Versions: 4
Compression:
Stored size: 270 Bytes
Contents
require 'spec_helper' require 'battlenet' describe Battlenet::Item do let(:api) { Battlenet.new } it "fetches item data" do VCR.use_cassette('item_hooooooooooo') do item = api.item '12784' item['name'].should == "Arcanite Reaper" end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
battlenet-1.2.0 | spec/integration/item_spec.rb |
battlenet-1.1.1 | spec/integration/item_spec.rb |
battlenet-1.1.0 | spec/integration/item_spec.rb |
battlenet-1.0.0 | spec/integration/item_spec.rb |