Sha256: e30e2043985fdd3b76baabb0f37917d1ea5597555887b9d8d0e0e3b9d34e6d5b

Contents?: true

Size: 314 Bytes

Versions: 3

Compression:

Stored size: 314 Bytes

Contents

require 'helper'

class TestConfig < Test::Unit::TestCase
  def test_read_from_test_config
    App.root = File.dirname __FILE__
  
    expected = {"abc"=>"def", "dummy"=>"dummy"}
    assert_equal(expected, App.config)

    assert_equal("def", App.config[:abc])
    assert_equal("def", App.config["abc"])
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
radiospiel-app-0.2.0 test/config_test.rb
radiospiel-app-0.1.1 test/config_test.rb
radiospiel-app-0.1.0 test/config_test.rb