fix broken file provider specs

fixing the should_not raise_error(Whatever) specs exposed that these
were broken.
fix test, define_resource_requirements needs an action