Sha256: e8d30b6a3c15cccdce7a29c66e741a35323ebcfdd6485ce848cc8f7c2daf3a12

Contents?: true

Size: 386 Bytes

Versions: 36

Compression:

Stored size: 386 Bytes

Contents

require File.join(File.dirname(__FILE__), "spec_helper")

describe YARD::Logger do
  describe '#show_backtraces' do
    it "should be true if debug level is on" do
      log.show_backtraces = true
      log.enter_level(Logger::DEBUG) do
        log.show_backtraces = false
        log.show_backtraces.should == true
      end
      log.show_backtraces.should == false
    end
  end
end

Version data entries

36 entries across 33 versions & 4 rubygems

Version Path
challah-0.6.2 vendor/bundle/gems/yard-0.8.1/spec/logging_spec.rb
challah-0.6.2 vendor/bundle/gems/yard-0.7.5/spec/logging_spec.rb
challah-0.6.1 vendor/bundle/gems/yard-0.8.1/spec/logging_spec.rb
challah-0.6.1 vendor/bundle/gems/yard-0.7.5/spec/logging_spec.rb
challah-0.6.0 vendor/bundle/gems/yard-0.7.5/spec/logging_spec.rb
challah-0.6.0 vendor/bundle/gems/yard-0.8.1/spec/logging_spec.rb
yard-0.8.1 spec/logging_spec.rb
yard-0.8.0 spec/logging_spec.rb
challah-0.5.4 vendor/bundle/gems/yard-0.7.5/spec/logging_spec.rb
challah-0.5.3 vendor/bundle/gems/yard-0.7.5/spec/logging_spec.rb
challah-0.5.2 vendor/bundle/gems/yard-0.7.5/spec/logging_spec.rb
challah-0.5.1 vendor/bundle/gems/yard-0.7.5/spec/logging_spec.rb
challah-0.5.0 vendor/bundle/gems/yard-0.7.5/spec/logging_spec.rb
challah-0.4.1 vendor/bundle/gems/yard-0.7.5/spec/logging_spec.rb
challah-0.4.0 vendor/bundle/gems/yard-0.7.5/spec/logging_spec.rb
challah-0.3.5 vendor/bundle/gems/yard-0.7.5/spec/logging_spec.rb
challah-0.3.4 vendor/bundle/gems/yard-0.7.5/spec/logging_spec.rb
challah-0.3.3 vendor/bundle/gems/yard-0.7.5/spec/logging_spec.rb
challah-0.3.2 vendor/bundle/gems/yard-0.7.5/spec/logging_spec.rb
challah-0.3.1 vendor/bundle/gems/yard-0.7.5/spec/logging_spec.rb