Sha256: 98e41d9e08c532d2010b4e84ec6e723d31df581e15e025e1d08178a25088b721
Contents?: true
Size: 550 Bytes
Versions: 2
Compression:
Stored size: 550 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.1") check_api_version(GameRequest, "v1.3") check_api_version(LeagueRequest, "v2.3") check_api_version(StatsRequest, "v1.2") check_api_version(SummonerRequest, "v1.3") check_api_version(TeamRequest, "v2.2") check_api_version(StaticRequest, "v1") end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby-lol-0.9.12 | spec/api_version_spec.rb |
ruby-lol-0.9.11 | spec/api_version_spec.rb |