Sha256: afff506b6e72be9f1c24756f88a489a06ea4e36fa1dca361606c19dc75049164

Contents?: true

Size: 495 Bytes

Versions: 15

Compression:

Stored size: 495 Bytes

Contents

require "spec_helper"
require "lol"

include Lol

describe Champion do
  it_behaves_like 'Lol model' do
    let(:valid_attributes) { { id: 1 } }
  end

  %w(id name active attack_rank defense_rank magic_rank difficulty_rank bot_enabled free_to_play bot_mm_enabled ranked_play_enabled).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

15 entries across 15 versions & 1 rubygems

Version Path
ruby-lol-0.9.12 spec/lol/champion_spec.rb
ruby-lol-0.9.11 spec/lol/champion_spec.rb
ruby-lol-0.9.10 spec/lol/champion_spec.rb
ruby-lol-0.9.9 spec/lol/champion_spec.rb
ruby-lol-0.9.8 spec/lol/champion_spec.rb
ruby-lol-0.9.7 spec/lol/champion_spec.rb
ruby-lol-0.9.6 spec/lol/champion_spec.rb
ruby-lol-0.9.5 spec/lol/champion_spec.rb
ruby-lol-0.9.4 spec/lol/champion_spec.rb
ruby-lol-0.9.3 spec/lol/champion_spec.rb
ruby-lol-0.9.1 spec/lol/champion_spec.rb
ruby-lol-0.0.7 spec/lol/champion_spec.rb
ruby-lol-0.0.6 spec/lol/champion_spec.rb
ruby-lol-0.0.2 spec/lol/champion_spec.rb
ruby-lol-0.0.1 spec/lol/champion_spec.rb