提交 c4d6d50a 编写于 作者: C Carlhuda

Rackup config.ru from the correct directory

上级 af5c3c85
......@@ -20,8 +20,10 @@ def setup
end
test "config.ru can be racked up" do
@app = rackup
assert_welcome get("/")
Dir.chdir app_path do
@app = rackup
assert_welcome get("/")
end
end
test "Rails.application is available after config.ru has been racked up" do
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册