Sha256: 8f39fceb13b4a3c41345e34aa5a9cdd34c9fc10a6918045dee590c99d462e95a

Contents?: true

Size: 386 Bytes

Versions: 1

Compression:

Stored size: 386 Bytes

Contents

require 'rspec_ext'
require "#{__FILE__.dirname}/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.12 spec/environment/logger_spec.rb