fixed test to assert initialization value.

This commit is contained in:
Nick Sutterer
2011-05-04 00:11:34 +02:00
parent 88c21121f1
commit b4bc2c50ca

View File

@@ -182,7 +182,7 @@ class LookupContextTest < ActiveSupport::TestCase
end
test "responds to #prefixes" do
assert_equal nil, @lookup_context.prefixes
assert_equal [], @lookup_context.prefixes
@lookup_context.prefixes = ["foo"]
assert_equal ["foo"], @lookup_context.prefixes
end