Sha256: 9054fd6d30ef233260ef1fe310ccb3cd3d4dfee25fb8bbddcac9a6ea658bcbea

Contents?: true

Size: 353 Bytes

Versions: 8

Compression:

Stored size: 353 Bytes

Contents

require 'spec_helper'

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

describe 'Sourceable, Unit' do

  nodule = CucumberAnalytics::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

8 entries across 8 versions & 1 rubygems

Version Path
cucumber_analytics-1.5.1 spec/unit/sourceable_unit_spec.rb
cucumber_analytics-1.5.0 spec/unit/sourceable_unit_spec.rb
cucumber_analytics-1.4.2 spec/unit/sourceable_unit_spec.rb
cucumber_analytics-1.4.1 spec/unit/sourceable_unit_spec.rb
cucumber_analytics-1.4.0 spec/unit/sourceable_unit_spec.rb
cucumber_analytics-1.3.0 spec/unit/sourceable_unit_spec.rb
cucumber_analytics-1.2.0 spec/unit/sourceable_unit_spec.rb
cucumber_analytics-1.1.1 spec/unit/sourceable_unit_spec.rb