Sha256: 12d5cbd85596866c5da96cc815fc48c76bb7e6664943c4a55446ecc300f2bc5a
Contents?: true
Size: 576 Bytes
Versions: 32
Compression:
Stored size: 576 Bytes
Contents
require "spec_helper" require "lol" include Lol describe MiniSeries do it "inherits from Lol::Model" do expect(MiniSeries.ancestors[1]).to eq(Model) end context "initialization" do it_behaves_like 'Lol model' do let(:valid_attributes) { { target: 3 } } end %w(target wins losses time_left_to_play_millis progress).each do |attribute| describe "#{attribute} attribute" do it_behaves_like 'plain attribute' do let(:attribute) { attribute } let(:attribute_value) { 'asd' } end end end end end
Version data entries
32 entries across 32 versions & 1 rubygems