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

@@ -20,7 +20,7 @@ describe Jasmine::SimpleServer do
Jasmine::wait_for_listener(@port)
run_html = open("http://localhost:#{@port}/run.html").read
run_html = open("http://localhost:#{@port}/").read
run_html.should =~ /<script src="file1"/
run_html.should =~ /<script src="file2"/
end
@@ -39,11 +39,11 @@ describe Jasmine::SimpleServer do
Jasmine::wait_for_listener(@port)
run_html = open("http://localhost:#{@port}/run.html").read
run_html = open("http://localhost:#{@port}/").read
run_html.should =~ /<script src="file1"/
run_html.should =~ /<script src="file2"/
run_html = open("http://localhost:#{@port}/run.html").read
run_html = open("http://localhost:#{@port}/").read
run_html.should =~ /<script src="file1"/
run_html.should =~ /<script src="file2"/
run_html.should =~ /<script src="file3"/