Sha256: 7ad2f87847823432e8af5d4d38bc4d0ab1496c43f76e27c7d8111ff9ecbcb52b
Contents?: true
Size: 682 Bytes
Versions: 4
Compression:
Stored size: 682 Bytes
Contents
require "spec_helper" require "lol" include Lol def check_api_version(klass, version) describe klass do it "should use API version #{version}" do expect(klass.api_version).to eq(version) end end end describe "API Versions" do check_api_version(ChampionRequest, "v3") check_api_version(ChampionMasteryRequest, "v3") check_api_version(LeagueRequest, "v3") check_api_version(StaticRequest, "v3") check_api_version(LolStatusRequest, "v3") check_api_version(MatchRequest, "v3") check_api_version(SummonerRequest, "v3") check_api_version(RunesRequest, "v3") check_api_version(MasteriesRequest, "v3") check_api_version(SpectatorRequest, "v3") end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ruby-lol-1.2.0 | spec/api_version_spec.rb |
ruby-lol-1.1.2 | spec/api_version_spec.rb |
ruby-lol-1.1.1 | spec/api_version_spec.rb |
ruby-lol-1.0.0 | spec/api_version_spec.rb |