Sha256: 972158941f2e44f5f573730c65750f957478d10ae416ea2aac7540b21db7381a

Contents?: true

Size: 389 Bytes

Versions: 1

Compression:

Stored size: 389 Bytes

Contents

require "#{File.expand_path(File.dirname(__FILE__))}/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_ext-0.0.11 spec/environment/logger_spec.rb