Skip to content

Commit

Permalink
test urls anchored
Browse files Browse the repository at this point in the history
  • Loading branch information
moschel committed Oct 18, 2010
1 parent 0f6ddba commit 4f952ef
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion funcunit.js
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ support : {},
window : {
document: {}
},
basePath: basePath || "",
basePath: (typeof basePath == "undefined"? "": basePath),
_opened: function() {}
});

Expand Down
2 changes: 1 addition & 1 deletion test/funcunit/find_closest_test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module("funcunit - find / closest",{
setup: function() {
var self = this;
S.open("test/findclosest.html", function(){
S.open("//funcunit/test/findclosest.html", function(){
self.pageIsLoaded = true;
}, 10000)
}
Expand Down
2 changes: 1 addition & 1 deletion test/funcunit/funcunit_test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module("funcunit - jQuery API",{
setup: function() {
var self = this;
S.open("test/myapp.html", function(){
S.open("//funcunit/test/myapp.html", function(){
self.pageIsLoaded = true;
}, 10000)
}
Expand Down
4 changes: 2 additions & 2 deletions test/funcunit/open_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ test("URL Test", function(){


test("Back to back opens", function(){
S.open("test/myotherapp.html", null, 10000);
S.open("//funcunit/test/myotherapp.html", null, 10000);

S.open("test/myapp.html", null, 10000);
S.open("//funcunit/test/myapp.html", null, 10000);

S("#changelink").click(function(){
equals(S("#changelink").text(), "Changed","href javascript run")
Expand Down
2 changes: 1 addition & 1 deletion test/funcunit/protodrag_test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module("funcunit-prototype / scriptaculous drag",{
setup: function() {
S.open("test/protodrag/myapp.html", null, 10000);
S.open("//funcunit/test/protodrag/myapp.html", null, 10000);
}
})

Expand Down
6 changes: 3 additions & 3 deletions test/funcunit/syn_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module("funcunit-syn integration")


test("Type and slow Click", function(){
S.open("test/myapp.html", null, 10000);
S.open("//funcunit/test/myapp.html", null, 10000);

S("#typehere").type("javascriptmvc", function(){
equals(S("#seewhatyoutyped").text(), "typed javascriptmvc","typing");
Expand All @@ -23,7 +23,7 @@ test("Type and slow Click", function(){
})

test("Move To", function(){
S.open("test/drag.html", null, 10000);
S.open("//funcunit/test/drag.html", null, 10000);
S("#start").move("#end")
S("#typer").type("javascriptmvc",function(){
equals(S("#typer").val(), "javascriptmvc","move test worked correctly");
Expand All @@ -32,7 +32,7 @@ test("Move To", function(){
})

test("Drag To", function(){
S.open("test/drag.html", null, 10000);
S.open("//funcunit/test/drag.html", null, 10000);
S("#drag").drag("#drop")
S("#clicker").click(function(){
equals(S(".status").text(), "dragged", 'drag worked correctly')
Expand Down

0 comments on commit 4f952ef

Please sign in to comment.