Sha256: 60272474c1925b9ebbe41987ef1288e34b0dd77f0534827eea89eacda0a15522

Contents?: true

Size: 373 Bytes

Versions: 1

Compression:

Stored size: 373 Bytes

Contents

require "#{File.dirname(__FILE__)}/../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.6.0 testing/rspec/spec/unit/sourced_element_unit_specs.rb