Sha256: 66fa7de13fc65733f4b28d20395ca8426189998ad91abec55c30b23eb9227199

Contents?: true

Size: 460 Bytes

Versions: 1

Compression:

Stored size: 460 Bytes

Contents

require 'environment/spec_helper'

require 'rad/environment'

describe "Environment basic spec" do    
  inject env: :environment
  
  before :all do
    load "#{spec_dir}/app.rb"
  end
  
  after :all do
    rad.clear
  end
  
  it "core components" do
    rad[:logger].should_not be_nil
    rad[:environment].should_not be_nil
    rad[:config].should_not be_nil
  end
  
  it "application runtime_dir" do
    env.config.runtime_dir?.should be_false
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rad_core-0.0.13 spec/environment/minimal_app_spec.rb