spec/integration/item_spec.rb in battlenet-1.3.0 vs spec/integration/item_spec.rb in battlenet-1.4.0

- old
+ new

@@ -7,6 +7,14 @@ VCR.use_cassette('item_hooooooooooo') do item = api.item '12784' item['name'].should == "Arcanite Reaper" end end + + it "fetches item set data" do + VCR.use_cassette('item_set_1060') do + set = api.item_set '1060' + set['name'].should == "Deep Earth Vestments" + set['setBonuses'][0]['threshold'].should == 2 + end + end end