Sha256: 89ed3201d2c9c52573dc1a5b636b7f955b36b598b1d49cf00be073cc383ac5a2
Contents?: true
Size: 447 Bytes
Versions: 6
Compression:
Stored size: 447 Bytes
Contents
require 'spec_helper' describe Bnet::Diablo3 do let(:instance) do described_class.new(region: "us", key: 'somekey', secret: 'somesecret') end describe "initialization" do it "can be initialized" do expect(instance).to be_a_kind_of(described_class) expect(instance.region).to eq("us") end end describe "url" do subject{ instance.url } it { is_expected.to eq("https://us.api.battle.net/d3/") } end end
Version data entries
6 entries across 6 versions & 1 rubygems