diff --git a/test/options_test.rb b/test/options_test.rb index edf27361..9def65cf 100644 --- a/test/options_test.rb +++ b/test/options_test.rb @@ -9,10 +9,11 @@ module Haml ) end - def test_buffer_defaults_values_are_default_options + def test_buffer_defaults_values_are_the_same_as_rails_defaults + rails_defaults = Haml::Options.defaults.merge(Haml::Template.options) Haml::Options.buffer_option_keys.each do |key| assert_equal( - Haml::Options.defaults[key], + rails_defaults[key], Haml::Options.buffer_defaults[key], "key: #{key}" ) end