Sha256: 3c63a0e66f06bb63dec18507701c453e7cc97c1532cb42e64a29a5307df9fe07
Contents?: true
Size: 580 Bytes
Versions: 1
Compression:
Stored size: 580 Bytes
Contents
require 'environment/spec_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-0.0.13 | spec/environment/minimal_app_spec.rb |