Sha256: 91cea2e4202fca77c8b2a9cb44855449e864ee8e65bce2b0490be6b854529340

Contents?: true

Size: 274 Bytes

Versions: 2

Compression:

Stored size: 274 Bytes

Contents

require 'spec_helper'

shared_examples_for 'a prepopulated element' do

  # clazz must be defined by the calling file

  let(:element) { clazz.new }


  it 'can take an argument' do
    (clazz.instance_method(:initialize).arity != 0).should be_true
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cuke_modeler-0.4.1 spec/unit/prepopulated_unit_specs.rb
cuke_modeler-0.4.0 spec/unit/prepopulated_unit_specs.rb