a guest Feb 20th, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- def my_method
- list = [.....]
- list.each do |filename|
- content = File.read(filename)
- File.should_receive(:read).with(??some regex here).and_return ""
- File.should_receive(:read).with(anything).and_return ""
RAW Paste Data