Sha256: 66ee74918ad0956bb24eb0ced0ced7df0d5c45958fa6c681d9836d9fc728e2de

Contents?: true

Size: 323 Bytes

Versions: 8

Compression:

Stored size: 323 Bytes

Contents

require_relative '../spec_helper'
require 'tempfile'

RSpec.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

8 entries across 8 versions & 1 rubygems

Version Path
reek-3.1 spec/gem/yard_spec.rb
reek-3.0.4 spec/gem/yard_spec.rb
reek-3.0.3 spec/gem/yard_spec.rb
reek-3.0.2 spec/gem/yard_spec.rb
reek-3.0.1 spec/gem/yard_spec.rb
reek-3.0.0 spec/gem/yard_spec.rb
reek-2.2.1 spec/gem/yard_spec.rb
reek-2.2.0 spec/gem/yard_spec.rb