Sha256: db8dba9316b8e128437997bf170481eb14d55da37289f8390ad07b8cc48097f6

Contents?: true

Size: 253 Bytes

Versions: 13

Compression:

Stored size: 253 Bytes

Contents

require 'spec_helper'

shared_examples_for 'a prepopulated element' do |clazz|

  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

13 entries across 13 versions & 2 rubygems

Version Path
cuke_modeler-0.2.0 spec/unit/prepopulated_unit_specs.rb
cuke_modeler-0.1.0 spec/unit/prepopulated_unit_specs.rb
cuke_modeler-0.0.2 spec/unit/prepopulated_unit_specs.rb
cuke_modeler-0.0.1 spec/unit/prepopulated_unit_specs.rb
cucumber_analytics-1.5.1 spec/unit/prepopulated_unit_specs.rb
cucumber_analytics-1.5.0 spec/unit/prepopulated_unit_specs.rb
cucumber_analytics-1.4.2 spec/unit/prepopulated_unit_specs.rb
cucumber_analytics-1.4.1 spec/unit/prepopulated_unit_specs.rb
cucumber_analytics-1.4.0 spec/unit/prepopulated_unit_specs.rb
cucumber_analytics-1.3.0 spec/unit/prepopulated_unit_specs.rb
cucumber_analytics-1.2.0 spec/unit/prepopulated_unit_specs.rb
cucumber_analytics-1.1.1 spec/unit/prepopulated_unit_specs.rb
cucumber_analytics-1.0.0 spec/unit/prepopulated_unit_specs.rb