module TestApiFileUtils
Public Instance Methods
file_data()
click to toggle source
# File actionpack/test/controller/api/data_streaming_test.rb, line 7 def file_data() @data ||= File.open(file_path, "rb") { |f| f.read } end
file_path()
click to toggle source
# File actionpack/test/controller/api/data_streaming_test.rb, line 6 def file_path() __FILE__ end