Sha256: e4b0641e555b6f120f75455157c44a8564f0a44e8b42f99d1685d9ace58512d8
Contents?: true
Size: 606 Bytes
Versions: 1
Compression:
Stored size: 606 Bytes
Contents
require "#{File.expand_path(File.dirname(__FILE__))}/helper" require 'crystal/environment' describe "Environment basic spec" do inject :env => :environment before :all do @dir = File.expand_path(File.dirname(__FILE__)) @minimal_app_dir = "#{@dir}/minimal_app_spec" load "#{@minimal_app_dir}/app.rb" end after :all do crystal.clear end it "core components" do crystal[:logger].should_not be_nil crystal[:environment].should_not be_nil crystal[:config].should_not be_nil end it "application root" do env.config.root?.should be_false end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
crystal_ext-0.0.11 | spec/environment/minimal_app_spec.rb |