Sha256: 0641cd122f02c208804949b7cbe92776741957226fea37fead9a15f6a8fe42c8

Contents?: true

Size: 425 Bytes

Versions: 4

Compression:

Stored size: 425 Bytes

Contents

group "Config"
library :rudy, File.expand_path(File.join(GYMNASIUM_HOME, '..', 'lib'))

tryout "Defaults" do
  setup do
    @@config = Rudy::Config.new
    @@config.look_and_load   # looks for and loads config files
  end
  
  drill "has some defaults", ["environment", "role", "zone"].sort do
    # Sorted so we can add new keys without breaking the test
    @@config.defaults.keys.collect { |v| v.to_s }.sort
  end
  
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
solutious-rudy-0.9.0 tryouts/12_config/20_defaults_tryouts.rb
solutious-rudy-0.9.1 tryouts/12_config/20_defaults_tryouts.rb
rudy-0.9.0 tryouts/12_config/20_defaults_tryouts.rb
rudy-0.9.1 tryouts/12_config/20_defaults_tryouts.rb