Sha256: 9894ee4e2e2d904b637ea54cef88f6ac801a5d7e70a66b26acb49c8a1768661e
Contents?: true
Size: 638 Bytes
Versions: 44
Compression:
Stored size: 638 Bytes
Contents
require 'spec_helper' require 'stringio' describe EY::Serverside do before do @original_stderr = $stderr @warnings = StringIO.new $stderr = @warnings end after do $stderr = @original_stderr end it "deprecates EY::Serverside::LoggedOutput for EY::Serverside::Shell::Helpers" do expect(EY::Serverside::LoggedOutput).to eq(EY::Serverside::Shell::Helpers) expect(@warnings.string).to include("EY::Serverside::LoggedOutput") end it "doesn't interfere with unrelated constants" do expect{ EY::Serverside::WTFNotDefined }.to raise_error(NameError, /uninitialized constant.*WTFNotDefined/) end end
Version data entries
44 entries across 44 versions & 1 rubygems