Sha256: 2fc5744c168b3d2ae0e8a0c83333d65f13ddd6d7db5f0679a1c692ef7251e0da

Contents?: true

Size: 420 Bytes

Versions: 8

Compression:

Stored size: 420 Bytes

Contents

require File.dirname(__FILE__) + '/spec_helper'

describe Merb::Config do
  it "should apply environment from the command line option --environment" do
    Merb.start %w( --environment performance_testing )
    Merb.environment.should == "performance_testing"
  end

  it "should apply environment from the command line option -e" do
    Merb.start %w( -e selenium )
    Merb.environment.should == "selenium"
  end  
end

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
thorero-0.9.4.5 spec/private/config/environment_spec.rb
merb-core-0.9.2 spec/private/config/environment_spec.rb
merb-core-0.9.4 spec/private/config/environment_spec.rb
merb-core-0.9.5 spec/private/config/environment_spec.rb
merb-core-0.9.3 spec/private/config/environment_spec.rb
merb-core-0.9.6 spec/private/config/environment_spec.rb
merb-core-0.9.7 spec/private/config/environment_spec.rb
thorero-core-0.9.4.6 spec/private/config/environment_spec.rb