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