Is there a way to add date to report.html file name so that it looks like for example: report_02_11_2012.html my current configuration looks like: --out /somefolder/report.html -- Posted via http://www.ruby-forum.com/.
On Fri, Nov 2, 2012 at 6:07 AM, Adnan Behram <lists at ruby-forum.com> wrote:> Is there a way to add date to report.html file name so that it looks > like for example: report_02_11_2012.html > > my current configuration looks like: > --out /somefolder/report.htmlI think you can probably use the shell. Something like: rspec --out report_$(date +%d_%m_%Y) -- Andy Lindeman http://www.andylindeman.com/