Sha256: 16fadcdba84995f67c0274428cb3419a81f182c61cc48771156466dc8405f888
Contents?: true
Size: 570 Bytes
Versions: 3
Compression:
Stored size: 570 Bytes
Contents
require "spec_helper" require "lol" include Lol describe ChampionStatisticsSummary do it_behaves_like 'Lol model' do let(:valid_attributes) { { id: 1 } } end %w(id name).each do |attribute| describe "#{attribute} attribute" do it_behaves_like 'plain attribute' do let(:attribute) { attribute } let(:attribute_value) { 'asd' } end end end describe 'stats attribute' do it_behaves_like 'collection attribute' do let(:attribute) { 'stats' } let(:attribute_class) { ChampionStatistic } end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ruby-lol-0.9.1 | spec/lol/champion_statistics_summary_spec.rb |
ruby-lol-0.0.7 | spec/lol/champion_statistics_summary_spec.rb |
ruby-lol-0.0.6 | spec/lol/champion_statistics_summary_spec.rb |