Sha256: 7b94dc147bbab487506e2b0c5e21a87cfd9f9e2acd211b1a0ba448d0d5a0d8dc
Contents?: true
Size: 592 Bytes
Versions: 32
Compression:
Stored size: 592 Bytes
Contents
require "spec_helper" require "lol" include Lol describe MatchSummary do it_behaves_like 'Lol model' do let(:valid_attributes) { { win: true } } end %w(assists deaths game_id game_mode invalid kills map_id opposing_team_kills opposing_team_name win).each do |attribute| describe "#{attribute} attribute" do it_behaves_like 'plain attribute' do let(:attribute) { attribute } let(:attribute_value) { 'asd' } end end end describe "date attribute" do it_behaves_like 'time attribute' do let(:attribute) { 'date' } end end end
Version data entries
32 entries across 32 versions & 1 rubygems