Try this.

expect(File).to exist("path/to/file")

Cheers, Jon





--
View this message in context: 
http://ruby.11.x6.nabble.com/File-should-be-exist-tp3486398p4993444.html
Sent from the rspec-users mailing list archive at Nabble.com.
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to