Hi.

Is there any matcher for test file content, anything like

file("/path/to/file.txt").should contain("File content")
or
file("/path/to/file.txt").content.should == "File content"
or
file_content("/path/to/file.txt").should == "File content"

or something else?

Jarl
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to