Sha256: 5f4c01312436925e0dc7d10162b0a35ddef59c5e305b36ef653ffc022a0f1518

Contents?: true

Size: 294 Bytes

Versions: 1

Compression:

Stored size: 294 Bytes

Contents

require 'spec_helper'

shared_examples_for 'a prepopulated element' do

  # clazz must be defined by the calling file

  before(:each) do
    @element = clazz.new
  end

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

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cuke_modeler-0.3.0 spec/unit/prepopulated_unit_specs.rb