I wanted to copy examples.txt file into another examples_1.txt file so that on re-run i can have another copy while examples.txt file gets over-ridden.
Problem: I have my code like this. I copied the example.txt file in after(:suite) section but I'm getting error.
Im getting this error. When I checked, it was due to examples.txt file was not even present. Any idea on when examples.txt file will be created so that i can copy them once the file is created.
No such file or directory @ rb_sysopen - reports/examples.txt
# ./spec/spec_helper.rb:94:in `block in <top (required)>'
# ./spec/spec_helper.rb:89:in `<top (required)>'
