Sha256: 501e6cf8049e39e94ba2e1cfa954a0cdaefa3b5b00ba4c17f3a8c8d33c3f5293

Contents?: true

Size: 539 Bytes

Versions: 4

Compression:

Stored size: 539 Bytes

Contents

# ------------------------------------------------------------
# RSpec

require 'spec_helper'

# ------------------------------------------------------------
# RSpec

RSpec.configure do |config|
  config.around do |example|
    next example.run unless defined?(Rails)

    rails_orig = Object.send(:remove_const, :Rails)
    begin
      example.run
    ensure
      Object.const_set(:Rails, rails_orig)
    end
  end
end

# ------------------------------------------------------------
# Code under test

require 'berkeley_library/logging'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
berkeley_library-logging-0.2.7 spec/standalone_helper.rb
berkeley_library-logging-0.2.6.2 spec/standalone_helper.rb
berkeley_library-logging-0.2.6.1 spec/standalone_helper.rb
berkeley_library-logging-0.2.6 spec/standalone_helper.rb