module GeneratorSpec::Matcher

def have_structure(&block)

def have_structure(&block)
  error = 'You must pass a block to have_structure (Use {} instead of do/end!)'
  raise RuntimeError, error unless block_given?
  Root.new(&block)
end