Sha256: 3f629dd9b100de75128b2942ec3c1f1dda7632568c79803512e2fd3b12a8f01d
Contents?: true
Size: 643 Bytes
Versions: 8
Compression:
Stored size: 643 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, "v1.2") check_api_version(GameRequest, "v1.3") check_api_version(LeagueRequest, "v2.5") check_api_version(StaticRequest, "v1.2") check_api_version(MatchRequest, "v2.2") check_api_version(MatchHistoryRequest, "v2.2") check_api_version(StatsRequest, "v1.3") check_api_version(SummonerRequest, "v1.4") check_api_version(TeamRequest, "v2.4") end
Version data entries
8 entries across 8 versions & 1 rubygems