filter pages by type
This commit is contained in:
@ -11,7 +11,7 @@ module Merged
|
||||
assert_equal OptionDefinition.first.class , OptionDefinition
|
||||
end
|
||||
def test_there_options
|
||||
assert_equal OptionDefinition.all.length , 19
|
||||
assert_equal OptionDefinition.all.length , 20
|
||||
end
|
||||
def test_has_option_objects
|
||||
assert_equal first.class , OptionDefinition
|
||||
|
@ -12,7 +12,7 @@ module Merged
|
||||
assert spacer
|
||||
end
|
||||
def test_has_sections
|
||||
assert_equal SectionStyle.all.length , 7
|
||||
assert_equal SectionStyle.all.length , 9
|
||||
end
|
||||
def test_finds_section_by_template
|
||||
spacer = SectionStyle.find_by_template("section_spacer")
|
||||
|
Reference in New Issue
Block a user