Sha256: 2e91b14e094b6a099209148b7560241d5f45dd90d7b6611ea4b2758822dbf266

Contents?: true

Size: 255 Bytes

Versions: 1

Compression:

Stored size: 255 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
    expect(clazz.instance_method(:initialize).arity != 0).to be true
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cucumber_analytics-1.5.2 spec/unit/prepopulated_unit_specs.rb