Sha256: d38a693a629a637eba351e4ff9f0915b173067f8d17a69509bb99ee0c671beff
Contents?: true
Size: 430 Bytes
Versions: 1
Compression:
Stored size: 430 Bytes
Contents
require 'spec_helper' require 'cape/deprecation/base' shared_examples_for "a #{Cape::Deprecation::Base.name}" do describe '-- without specified attributes --' do its(:stream) { should == $stderr } end describe '-- with a different #stream --' do before :each do subject.stream = different_stream end let(:different_stream) { StringIO.new } its(:stream) { should == different_stream } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cape-1.7.0 | spec/cape/deprecation/base_sharedspec.rb |