Sha256: c902705559ebc2a1007a289212a5248ef3dd918e1424a9dcc02aa81ebcf4e7a7

Contents?: true

Size: 468 Bytes

Versions: 5

Compression:

Stored size: 468 Bytes

Contents

require "spec_helper"
require "lol"

include Lol

describe TournamentCode do
  it_behaves_like 'Lol model' do
    let(:valid_attributes) { { } }
  end

  %w(id provider_id tournament_id code region map
    team_size spectators pick_type lobby_name password).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

5 entries across 5 versions & 1 rubygems

Version Path
ruby-lol-0.12.2 spec/lol/tournament_code_spec.rb
ruby-lol-0.12.1 spec/lol/tournament_code_spec.rb
ruby-lol-0.12.0 spec/lol/tournament_code_spec.rb
ruby-lol-0.11.6 spec/lol/tournament_code_spec.rb
ruby-lol-0.11.5 spec/lol/tournament_code_spec.rb