Sha256: d63582a383ca12a5b9467d3b233b11b53b1df61893f5b2da3551d7322ff4ed91

Contents?: true

Size: 395 Bytes

Versions: 1

Compression:

Stored size: 395 Bytes

Contents

require "#{File.dirname(__FILE__)}/../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.6.0 testing/rspec/spec/unit/sourceable_unit_spec.rb