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