Sha256: 3562da7fd3cc2758ae7ba7febd89428761f4f34cf1947a9226b1d356b3bc6f83

Contents?: true

Size: 344 Bytes

Versions: 1

Compression:

Stored size: 344 Bytes

Contents

require 'spec_helper'

shared_examples_for 'a sourced element' do |clazz|

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


  it 'has a source line - #source_line' do
    expect(@element.respond_to?(:source_line)).to be true
  end

  it 'starts with no source line' do
    expect(@element.source_line).to be_nil
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

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