test/backend/cascade_test.rb in i18n-0.8.1 vs test/backend/cascade_test.rb in i18n-0.8.3
- old
+ new
@@ -37,10 +37,10 @@
test "cascades before evaluating the default" do
assert_equal 'foo', lookup(:foo, :scope => :missing, :default => 'default')
end
test "cascades defaults, too" do
- assert_equal 'foo', lookup(nil, :default => [:'missing.missing', :'missing.foo'])
+ assert_equal 'foo', lookup(:does_not_exist, :default => [:'missing.missing', :'missing.foo'])
end
test "works with :offset => 2 and a single key" do
@cascade_options[:offset] = 2
lookup(:foo)