Cleanup testing files

This commit is contained in:
Bill Niblock 2017-10-30 00:20:46 -04:00
parent a3f9f5598b
commit 0c18f3cc80
2 changed files with 0 additions and 31 deletions

View file

@ -1,14 +0,0 @@
require_relative './gardner'
class Middle
attr_reader :tree
def initialize(app)
@app = app
@tree = Gardner::Plot.new(YAML.load_file('lib/sapling/example.yaml'))
end
def call(env)
@app.call(env)
end
end

View file

@ -1,17 +0,0 @@
require 'erb'
require_relative './gardner'
# Rack Stuff
class Greenhouse
def initialize
@response = ERB.new(File.read('lib/sapling/index.erb')).result(binding)
end
def call(_env)
['200', { 'Content-Type' => 'text/html' }, [@response]]
end
end
run Greenhouse.new