[rspec] redirect stdout for settings validation