1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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