# File test.rb, line 175 def setup @@args = {} @@fs = PageTemplate::FileSource.new(@@args) # Construct an absolute path, whatever it looks like on our platform require 'pathname' cwd = Dir.getwd directory = "tdata" file = "dummy.txt" @@filename = File.join(directory, file) @@location = File.join(cwd, directory, file) @@text = IO.read(@@location) end