Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changed in-browser tests to work with component files living under /v…

…endor directory.
  • Loading branch information...
commit 6194e62035194f26ed70cd42f829a2f24770c0a9 1 parent e6ea355
@karnowski karnowski authored
View
25 lib/blue-ridge.js
@@ -65,19 +65,20 @@ if(BlueRidge.loaded != true) {
var require = function(url, options){ return BlueRidge.Browser.require(url, options) };
var debug = function(message) { return BlueRidge.Browser.debug(message) };
- var BLUE_RIDGE_LIB_PREFIX = BLUE_RIDGE_LIB_PREFIX || "../../vendor/plugins/blue-ridge/lib/";
+ var BLUE_RIDGE_PREFIX = BLUE_RIDGE_PREFIX || "../../vendor/plugins/blue-ridge/";
+ var BLUE_RIDGE_VENDOR_PREFIX = BLUE_RIDGE_PREFIX + "/vendor/";
- require(BLUE_RIDGE_LIB_PREFIX + "jquery-1.3.2.js", {system: true});
- require(BLUE_RIDGE_LIB_PREFIX + "jquery.fn.js", {system: true});
- require(BLUE_RIDGE_LIB_PREFIX + "jquery.print.js", {system: true});
- require(BLUE_RIDGE_LIB_PREFIX + "screw.builder.js", {system: true});
- require(BLUE_RIDGE_LIB_PREFIX + "screw.matchers.js", {system: true});
- require(BLUE_RIDGE_LIB_PREFIX + "screw.events.js", {system: true});
- require(BLUE_RIDGE_LIB_PREFIX + "screw.behaviors.js", {system: true});
- require(BLUE_RIDGE_LIB_PREFIX + "smoke.core.js", {system: true});
- require(BLUE_RIDGE_LIB_PREFIX + "smoke.mock.js", {system: true});
- require(BLUE_RIDGE_LIB_PREFIX + "smoke.stub.js", {system: true});
- require(BLUE_RIDGE_LIB_PREFIX + "screw.mocking.js", {system: true});
+ require(BLUE_RIDGE_VENDOR_PREFIX + "jquery-1.3.2.js", {system: true});
+ require(BLUE_RIDGE_VENDOR_PREFIX + "jquery.fn.js", {system: true});
+ require(BLUE_RIDGE_VENDOR_PREFIX + "jquery.print.js", {system: true});
+ require(BLUE_RIDGE_VENDOR_PREFIX + "screw.builder.js", {system: true});
+ require(BLUE_RIDGE_VENDOR_PREFIX + "screw.matchers.js", {system: true});
+ require(BLUE_RIDGE_VENDOR_PREFIX + "screw.events.js", {system: true});
+ require(BLUE_RIDGE_VENDOR_PREFIX + "screw.behaviors.js", {system: true});
+ require(BLUE_RIDGE_VENDOR_PREFIX + "smoke.core.js", {system: true});
+ require(BLUE_RIDGE_VENDOR_PREFIX + "smoke.mock.js", {system: true});
+ require(BLUE_RIDGE_VENDOR_PREFIX + "smoke.stub.js", {system: true});
+ require(BLUE_RIDGE_VENDOR_PREFIX + "screw.mocking.js", {system: true});
BlueRidge.loaded = true;
require(BlueRidge.Browser.deriveSpecNameFromCurrentFile());
View
2  spec/javascripts/fixtures/blue_ridge_browser.html
@@ -4,7 +4,7 @@
<head>
<title>Blue Ridge In-Browser Test Runner | JavaScript Testing Results</title>
<link rel="stylesheet" href="../../../generators/blue_ridge/templates/screw.css" type="text/css" charset="utf-8" />
- <script type="text/javascript" charset="utf-8">var BLUE_RIDGE_LIB_PREFIX = "../../lib/";</script>
+ <script type="text/javascript" charset="utf-8">var BLUE_RIDGE_PREFIX = "../../";</script>
<script type="text/javascript" src="../../../lib/blue-ridge.js"></script>
</head>
View
2  spec/javascripts/fixtures/blue_ridge_command_line.html
@@ -4,7 +4,7 @@
<head>
<title>Blue Ridge Command-Line Test Runner | JavaScript Testing Results</title>
<link rel="stylesheet" href="../../../generators/blue_ridge/templates/screw.css" type="text/css" charset="utf-8" />
- <script type="text/javascript" charset="utf-8">var BLUE_RIDGE_LIB_PREFIX = "../../lib/";</script>
+ <script type="text/javascript" charset="utf-8">var BLUE_RIDGE_PREFIX = "../../";</script>
<script type="text/javascript" src="../../../lib/blue-ridge.js"></script>
</head>
View
2  spec/javascripts/fixtures/screw.unit/screw.behaviors.html
@@ -4,7 +4,7 @@
<head>
<title>Screw.Unit Behaviors | JavaScript Testing Results</title>
<link rel="stylesheet" href="../../../../generators/blue_ridge/templates/screw.css" type="text/css" charset="utf-8" />
- <script type="text/javascript" charset="utf-8">var BLUE_RIDGE_LIB_PREFIX = "../../lib/";</script>
+ <script type="text/javascript" charset="utf-8">var BLUE_RIDGE_PREFIX = "../../";</script>
<script type="text/javascript" src="../../../../lib/blue-ridge.js"></script>
</head>
View
2  spec/javascripts/fixtures/screw.unit/screw.matchers.html
@@ -4,7 +4,7 @@
<head>
<title>Screw.Unit Matchers | JavaScript Testing Results</title>
<link rel="stylesheet" href="../../../../generators/blue_ridge/templates/screw.css" type="text/css" charset="utf-8" />
- <script type="text/javascript" charset="utf-8">var BLUE_RIDGE_LIB_PREFIX = "../../lib/";</script>
+ <script type="text/javascript" charset="utf-8">var BLUE_RIDGE_PREFIX = "../../";</script>
<script type="text/javascript" src="../../../../lib/blue-ridge.js"></script>
</head>
View
2  spec/javascripts/fixtures/screw.unit/screw.print.html
@@ -4,7 +4,7 @@
<head>
<title>Screw.Unit Print | JavaScript Testing Results</title>
<link rel="stylesheet" href="../../../../generators/blue_ridge/templates/screw.css" type="text/css" charset="utf-8" />
- <script type="text/javascript" charset="utf-8">var BLUE_RIDGE_LIB_PREFIX = "../../lib/";</script>
+ <script type="text/javascript" charset="utf-8">var BLUE_RIDGE_PREFIX = "../../";</script>
<script type="text/javascript" src="../../../../lib/blue-ridge.js"></script>
</head>
View
2  spec/javascripts/fixtures/smoke/core.html
@@ -4,7 +4,7 @@
<head>
<title>Smoke Core | JavaScript Testing Results</title>
<link rel="stylesheet" href="../../../../generators/blue_ridge/templates/screw.css" type="text/css" charset="utf-8" />
- <script type="text/javascript" charset="utf-8">var BLUE_RIDGE_LIB_PREFIX = "../../lib/";</script>
+ <script type="text/javascript" charset="utf-8">var BLUE_RIDGE_PREFIX = "../../";</script>
<script type="text/javascript" src="../../../../lib/blue-ridge.js"></script>
</head>
View
2  spec/javascripts/fixtures/smoke/mock.html
@@ -4,7 +4,7 @@
<head>
<title>Smoke Mocking | JavaScript Testing Results</title>
<link rel="stylesheet" href="../../../../generators/blue_ridge/templates/screw.css" type="text/css" charset="utf-8" />
- <script type="text/javascript" charset="utf-8">var BLUE_RIDGE_LIB_PREFIX = "../../lib/";</script>
+ <script type="text/javascript" charset="utf-8">var BLUE_RIDGE_PREFIX = "../../";</script>
<script type="text/javascript" src="../../../../lib/blue-ridge.js"></script>
</head>
View
2  spec/javascripts/fixtures/smoke/screw_integration.html
@@ -4,7 +4,7 @@
<head>
<title>Smoke Stubbing | JavaScript Testing Results</title>
<link rel="stylesheet" href="../../../../generators/blue_ridge/templates/screw.css" type="text/css" charset="utf-8" />
- <script type="text/javascript" charset="utf-8">var BLUE_RIDGE_LIB_PREFIX = "../../lib/";</script>
+ <script type="text/javascript" charset="utf-8">var BLUE_RIDGE_PREFIX = "../../";</script>
<script type="text/javascript" src="../../../../lib/blue-ridge.js"></script>
</head>
View
2  spec/javascripts/fixtures/smoke/stub.html
@@ -4,7 +4,7 @@
<head>
<title>Smoke Stubbing | JavaScript Testing Results</title>
<link rel="stylesheet" href="../../../../generators/blue_ridge/templates/screw.css" type="text/css" charset="utf-8" />
- <script type="text/javascript" charset="utf-8">var BLUE_RIDGE_LIB_PREFIX = "../../lib/";</script>
+ <script type="text/javascript" charset="utf-8">var BLUE_RIDGE_PREFIX = "../../";</script>
<script type="text/javascript" src="../../../../lib/blue-ridge.js"></script>
</head>
Please sign in to comment.
Something went wrong with that request. Please try again.