Sha256: 7e4c47737f7229ea022a967daca7cc49707bbd0ec88ed2a61d94b56a7abf647e

Contents?: true

Size: 317 Bytes

Versions: 1

Compression:

Stored size: 317 Bytes

Contents

require_relative '../spec_helper'
require 'tempfile'

describe 'yardoc' do
  before :each do
    stderr_file = Tempfile.new('yardoc')
    stderr_file.close
    @stdout = `yardoc 2> #{stderr_file.path}`
    @stderr = IO.read(stderr_file.path)
  end
  it 'raises no warnings' do
    expect(@stderr).to eq('')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reek-2.1.0 spec/gem/yard_spec.rb