Sha256: 74211cd4d16c8b36ee082eda63cf1b2f4fd6796f66f0dd0e37625b4fa073182b

Contents?: true

Size: 366 Bytes

Versions: 1

Compression:

Stored size: 366 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
    expect(@element.respond_to?(:source_line)).to be true
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cucumber_analytics-1.5.2 spec/unit/sourceable_unit_spec.rb