Sha256: 05b8547a91c147046e33278e3b3050925a5455aa0fdbc7815162a92485666b02

Contents?: true

Size: 393 Bytes

Versions: 3

Compression:

Stored size: 393 Bytes

Contents

require "lol"
require "spec_helper"

include Lol

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

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

3 entries across 3 versions & 1 rubygems

Version Path
ruby-lol-0.9.1 spec/lol/aggregated_statistic_spec.rb
ruby-lol-0.0.7 spec/lol/aggregated_statistic_spec.rb
ruby-lol-0.0.6 spec/lol/aggregated_statistic_spec.rb