Sha256: 44b398a105764f4e9cf7973b8308df92646b2ae71964685a8968cbca471c7a61

Contents?: true

Size: 363 Bytes

Versions: 1

Compression:

Stored size: 363 Bytes

Contents

require 'environment/spec_helper'

require 'crystal/environment'

describe "Environment basic spec" do
  before :all do
    crystal.clear
    ::SILENCE_LOGGER = true
  end
  
  after :all do    
    crystal.clear
    remove_constants :SILENCE_LOGGER
  end
  
  it "logger should work before Crystal initialized" do
    crystal[:logger].should_not be_nil
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
crystal-0.0.13 spec/environment/logger_spec.rb