Sha256: bfe47c06cd7191c03ef12e3582d14f432e3bc3145d61ec532c85eed2100b2479
Contents?: true
Size: 430 Bytes
Versions: 6
Compression:
Stored size: 430 Bytes
Contents
require 'spec_helper' describe Bnet::API do let(:instance) do described_class.new(region: "eu") end describe "initialization" do it "can be initialized" do expect(instance).to be_a_kind_of(described_class) expect(instance.region).to eq("eu") end end describe "#url" do it "returns the base url by region" do expect(instance.url).to eq("https://eu.api.battle.net/") end end end
Version data entries
6 entries across 6 versions & 1 rubygems