Sha256: db5a60b5ae0022ea75ee3a671d1710b54993ab38684b161c07f293d704606771

Contents?: true

Size: 311 Bytes

Versions: 44

Compression:

Stored size: 311 Bytes

Contents

require 'spec_helper'

module ZK
  describe 'Extensions' do
    describe 'Exception#to_std_format' do

      it %[should not barf if backtrace is nil] do
        exc = StandardError.new
        exc.backtrace.should be_nil
        lambda { exc.to_std_format }.should_not raise_error
      end
    end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
zk-0.8.5 spec/z_k/extensions_spec.rb
zk-0.8.4 spec/z_k/extensions_spec.rb
zk-0.8.3 spec/z_k/extensions_spec.rb
zk-0.8.2 spec/z_k/extensions_spec.rb