Sha256: bcae9be46e359672f8a38d70ab7562975d60b54a1dc4fdc7d0d1038728d3bd7e
Contents?: true
Size: 575 Bytes
Versions: 5
Compression:
Stored size: 575 Bytes
Contents
require "spec_helper" require "lol" include Lol describe RuneSlot do it_behaves_like 'Lol model' do let(:valid_attributes) { { id: 1 } } end it_behaves_like "plain attribute" do let(:attribute) { "id" } let(:attribute_value) { "asd" } end describe "#rune" do let(:fixture) { load_fixture("summoner-runes", "v1.1", "get") } let(:rune) { fixture["pages"].first["slots"].first["rune"] } subject { RuneSlot.new fixture["pages"].first["slots"].first } it "is a Rune object" do expect(subject.rune).to be_a(Rune) end end end
Version data entries
5 entries across 5 versions & 1 rubygems