1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00
haml--haml/test/options_test.rb
2017-02-07 15:44:43 +09:00

21 lines
517 B
Ruby

require 'test_helper'
module Haml
class OptionsTest < Haml::TestCase
def test_buffer_defaults_have_only_buffer_option_keys
assert_equal(
Haml::Options.buffer_option_keys.sort,
Haml::Options.buffer_defaults.keys.sort,
)
end
def test_buffer_defaults_values_are_default_options
Haml::Options.buffer_option_keys.each do |key|
assert_equal(
Haml::Options.defaults[key],
Haml::Options.buffer_defaults[key],
)
end
end
end
end