Sha256: ba47e8445c594228d4c19d0685d6c93df1e623fa8a636d707ca62c89b1801314

Contents?: true

Size: 332 Bytes

Versions: 11

Compression:

Stored size: 332 Bytes

Contents

require "spec_helper"
require "lol"

include Lol

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

  %w(id name description tier).each do |attribute|
    it_behaves_like "plain attribute" do
      let(:attribute) { attribute }
      let(:attribute_value) { "asd" }
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ruby-lol-0.9.12 spec/lol/rune_spec.rb
ruby-lol-0.9.11 spec/lol/rune_spec.rb
ruby-lol-0.9.10 spec/lol/rune_spec.rb
ruby-lol-0.9.9 spec/lol/rune_spec.rb
ruby-lol-0.9.8 spec/lol/rune_spec.rb
ruby-lol-0.9.7 spec/lol/rune_spec.rb
ruby-lol-0.9.6 spec/lol/rune_spec.rb
ruby-lol-0.9.5 spec/lol/rune_spec.rb
ruby-lol-0.9.4 spec/lol/rune_spec.rb
ruby-lol-0.9.3 spec/lol/rune_spec.rb
ruby-lol-0.9.1 spec/lol/rune_spec.rb