Sha256: 6ebd40e553349440141e7ed2f014cdb915cef1d3daf98a3bd9aadc8e6b72e3a6

Contents?: true

Size: 383 Bytes

Versions: 2

Compression:

Stored size: 383 Bytes

Contents

require "lol"
require "spec_helper"

include Lol

describe Statistic 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

2 entries across 2 versions & 1 rubygems

Version Path
ruby-lol-0.0.2 spec/lol/statistic_spec.rb
ruby-lol-0.0.1 spec/lol/statistic_spec.rb