mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
9 lines
No EOL
385 B
Ruby
9 lines
No EOL
385 B
Ruby
ENV["MM_DIR"] = File.join(File.dirname(File.dirname(File.dirname(__FILE__))), "fixtures", "test-app")
|
|
require File.join(File.dirname(File.dirname(File.dirname(__FILE__))), 'lib', 'middleman')
|
|
require "rack/test"
|
|
|
|
# absolute views path
|
|
# otherwise resolve_template (padrino-core) can't find templates
|
|
Before do
|
|
Middleman::Server.views = File.join(Middleman::Server.root, "source")
|
|
end |