mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Test options in Rails situation
This commit is contained in:
parent
8ada54767f
commit
b7de7178d5
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue