Skip to content

Commit

Permalink
updated test for different error output on various rubies
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkerbot committed Jul 12, 2011
1 parent b91f352 commit 72c444f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/configurable_test.rb
Expand Up @@ -108,7 +108,7 @@ def test_config_guesses_integer_type_for_integer_default
assert_equal 2, config.cast(2.1)

err = assert_raises(ArgumentError) { config.cast('abc') }
assert_equal 'invalid value for Integer: "abc"', err.message
assert_match(/invalid value for Integer/, err.message)
end

class ConfigFloatTypeClass
Expand Down

0 comments on commit 72c444f

Please sign in to comment.