Sha256: 79370b8dc1f566c5ae6365f3d289cfd086a2ae7698fc1e1601a81beadc6544fe

Contents?: true

Size: 367 Bytes

Versions: 2

Compression:

Stored size: 367 Bytes

Contents

require 'spec_helper'

SimpleCov.command_name('Sourceable') unless RUBY_VERSION.to_s < '1.9.0'

describe 'Sourceable, Unit' do

  let(:nodule) { CukeModeler::Sourceable }
  let(:element) { Object.new.extend(nodule) }


  describe 'unique behavior' do

    it 'has a source line' do
      element.should respond_to(:source_line)
    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

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