use File.read for rspec mock