Sha256: 5e6f1a67643224298d5d581bcbe1a32e040916dae8e2cf23e2e1aa13ae5a78cc

Contents?: true

Size: 347 Bytes

Versions: 5

Compression:

Stored size: 347 Bytes

Contents

require 'spec_helper'

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

describe 'Sourceable, Unit' do

  nodule = CukeModeler::Sourceable

  before(:each) do
    @element = Object.new.extend(nodule)
  end

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

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cuke_modeler-0.3.0 spec/unit/sourceable_unit_spec.rb
cuke_modeler-0.2.0 spec/unit/sourceable_unit_spec.rb
cuke_modeler-0.1.0 spec/unit/sourceable_unit_spec.rb
cuke_modeler-0.0.2 spec/unit/sourceable_unit_spec.rb
cuke_modeler-0.0.1 spec/unit/sourceable_unit_spec.rb