Sha256: f5b62e5e9bf8ce42c7ce42fd6b8cba23eb6aef670a740e1dcf43e7622c6fda6f

Contents?: true

Size: 281 Bytes

Versions: 13

Compression:

Stored size: 281 Bytes

Contents

require "#{File.dirname(__FILE__)}/../../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

13 entries across 13 versions & 1 rubygems

Version Path
cuke_modeler-2.1.0 testing/rspec/spec/unit/shared/bare_bones_models_unit_specs.rb
cuke_modeler-2.0.0 testing/rspec/spec/unit/shared/bare_bones_models_unit_specs.rb
cuke_modeler-1.5.1 testing/rspec/spec/unit/shared/bare_bones_models_unit_specs.rb
cuke_modeler-1.5.0 testing/rspec/spec/unit/shared/bare_bones_models_unit_specs.rb
cuke_modeler-1.4.0 testing/rspec/spec/unit/shared/bare_bones_models_unit_specs.rb
cuke_modeler-1.3.0 testing/rspec/spec/unit/shared/bare_bones_models_unit_specs.rb
cuke_modeler-1.2.1 testing/rspec/spec/unit/shared/bare_bones_models_unit_specs.rb
cuke_modeler-1.2.0 testing/rspec/spec/unit/shared/bare_bones_models_unit_specs.rb
cuke_modeler-1.1.1 testing/rspec/spec/unit/shared/bare_bones_models_unit_specs.rb
cuke_modeler-1.1.0 testing/rspec/spec/unit/shared/bare_bones_models_unit_specs.rb
cuke_modeler-1.0.4 testing/rspec/spec/unit/shared/bare_bones_models_unit_specs.rb
cuke_modeler-1.0.3 testing/rspec/spec/unit/shared/bare_bones_models_unit_specs.rb
cuke_modeler-1.0.2 testing/rspec/spec/unit/shared/bare_bones_models_unit_specs.rb