Sha256: dab7bb3965acce923a866f130fa4783cb847d0c15ae912bcf01d77ff1e504c04

Contents?: true

Size: 277 Bytes

Versions: 1

Compression:

Stored size: 277 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Yardstick::Document, '#line' do
  subject { described_class.new(docstring).line }

  let(:docstring) { double('docstring', object: object) }
  let(:object)    { double('object', line: 3)           }

  it { should be(3) }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yardstick-0.9.7 spec/unit/yardstick/document/line_spec.rb