Sha256: 77f6fc54b012c07c5cb59cd9f9144bf281b4c538b283e2f97b7a326e7a01b0f2

Contents?: true

Size: 327 Bytes

Versions: 12

Compression:

Stored size: 327 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
    @element.should respond_to(:source_line)
  end

  it 'starts with no source line' do
    @element.source_line.should == nil
  end

end

Version data entries

12 entries across 12 versions & 2 rubygems

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