Permalink
Browse files

Fixes issue #5

  • Loading branch information...
1 parent 42fcb4a commit d184e5537c868ab902b09705656928738108a51e @cjbottaro committed Nov 16, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 test/app_config_test.rb
@@ -4,7 +4,8 @@
class AppConfigTest < Test::Unit::TestCase
def test_missing_files
- assert_raise(Errno::ENOENT){ ApplicationConfiguration.new('not_here1', 'not_here2') }
+ config = ApplicationConfiguration.new('not_here1', 'not_here2')
+ assert_equal OpenStruct.new, config.instance_variable_get("@config")
end
def test_empty_files

0 comments on commit d184e55

Please sign in to comment.