Sha256: 022a4f29ad9061b53daad9e271571e50517b2e0c7c8953c2aadf28b065b4994e

Contents?: true

Size: 249 Bytes

Versions: 2

Compression:

Stored size: 249 Bytes

Contents

require 'spec_helper'

shared_examples_for 'a bare bones model' do

  # clazz must be defined by the calling file

  let(:model) { clazz.new }


  it 'can be initialized empty' do
    expect { clazz.new }.to_not raise_error
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cuke_modeler-1.0.1 spec/unit/shared/bare_bones_models_unit_specs.rb
cuke_modeler-1.0.0 spec/unit/shared/bare_bones_models_unit_specs.rb