ERA_USAGE =< #{xml_file}") end end Then(/^the metadata should be valid$/) do run_simple("era_check #{dev_file}", true) end