aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorNick Sutterer <apotonick@gmail.com>2011-05-04 00:11:34 +0200
committerNick Sutterer <apotonick@gmail.com>2011-05-04 00:11:34 +0200
commitb4bc2c50ca9887dec7cd9095a5bc84e2d6677e43 (patch)
treeaf245099c68f769fc85158da7d9c6df0a14b95b5 /actionpack
parent88c21121f1e5ea31cf780cf65c89a143f168b01a (diff)
downloadrails-b4bc2c50ca9887dec7cd9095a5bc84e2d6677e43.tar.gz
rails-b4bc2c50ca9887dec7cd9095a5bc84e2d6677e43.tar.bz2
rails-b4bc2c50ca9887dec7cd9095a5bc84e2d6677e43.zip
fixed test to assert initialization value.
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/test/template/lookup_context_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/template/lookup_context_test.rb b/actionpack/test/template/lookup_context_test.rb
index 82ca7ba173..5fb1fdc044 100644
--- a/actionpack/test/template/lookup_context_test.rb
+++ b/actionpack/test/template/lookup_context_test.rb
@@ -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