Sha256: e6e284a90e208d60a2f87a5c97552aae5daf61f22eea2d91e9f55a37f3cfb972

Contents?: true

Size: 329 Bytes

Versions: 2

Compression:

Stored size: 329 Bytes

Contents

require 'spec_helper'

shared_examples_for 'a sourced element' do

  # clazz must be defined by the calling file

  let(:element) { clazz.new }


  it 'has a 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

2 entries across 2 versions & 1 rubygems

Version Path
cuke_modeler-0.4.1 spec/unit/sourced_element_unit_specs.rb
cuke_modeler-0.4.0 spec/unit/sourced_element_unit_specs.rb