Change url from /run.html to /.

This commit is contained in:
Christian Williams & Kim Eric Mittler
2009-09-02 12:51:39 -07:00
parent 17b513eafb
commit 8ba804e299
4 changed files with 8 additions and 8 deletions

View File

@@ -114,8 +114,8 @@ module Jasmine
require 'thin'
config = {
'/' => Jasmine::Redirect.new('/run.html'),
'/run.html' => Jasmine::RunAdapter.new(spec_files_or_proc)
'/run.html' => Jasmine::Redirect.new('/'),
'/' => Jasmine::RunAdapter.new(spec_files_or_proc)
}
mappings.each do |from, to|
config[from] = Rack::File.new(to)
@@ -150,7 +150,7 @@ module Jasmine
def connect
@driver.start
@driver.open("/run.html")
@driver.open("/")
end
def disconnect