> Hello
>
> Can someone please recommend me a way to check file existence the Cucumber way (i.e. in a Then step)? I tried this form: "File.should exist(fpath)", but the error message doesn't mention the file's path ("expected File to exist (RSpec::Expectations::ExpectationNotMetError)").
File.should exist(path) comes from rspec. You can add a custom message like this:
File.should exist(path), "expected #{path} to exist on the file system"
HTH,
David