Skip to content

Commit

Permalink
Rackup config.ru from the correct directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlhuda committed Dec 24, 2009
1 parent af5c3c8 commit c4d6d50
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions railties/test/application/load_test.rb
Expand Up @@ -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
Expand Down

0 comments on commit c4d6d50

Please sign in to comment.