Sha256: 206be627be80b7b2d9282a6b1f4cee85f94498932dfea9f8bb6910d511c3304e

Contents?: true

Size: 386 Bytes

Versions: 6

Compression:

Stored size: 386 Bytes

Contents

require "lol"
require "spec_helper"

include Lol

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

  %w(id name value).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

6 entries across 6 versions & 1 rubygems

Version Path
ruby-lol-0.9.5 spec/lol/raw_statistic_spec.rb
ruby-lol-0.9.4 spec/lol/raw_statistic_spec.rb
ruby-lol-0.9.3 spec/lol/raw_statistic_spec.rb
ruby-lol-0.9.1 spec/lol/raw_statistic_spec.rb
ruby-lol-0.0.7 spec/lol/raw_statistic_spec.rb
ruby-lol-0.0.6 spec/lol/raw_statistic_spec.rb