Sha256: e93e6312d3ae5f7cff9056e134a82634aa1431ba3ebe794eba2fc312c2458be9

Contents?: true

Size: 368 Bytes

Versions: 1

Compression:

Stored size: 368 Bytes

Contents

require 'spec_helper'

shared_examples_for 'a sourced element' do

  # clazz must be defined by the calling file

  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

1 entries across 1 versions & 1 rubygems

Version Path
cuke_modeler-0.3.0 spec/unit/sourced_element_unit_specs.rb