use FileUtils.mkdir_p for recursive dir building for namespaced controllers
use RSpec.current_example method if rspec3 to silence deprecation warning