Navigation Menu

Skip to content

Commit

Permalink
Update tests around host name
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Aug 15, 2012
1 parent b4ee51b commit 3557a8f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/api-search.test.js
Expand Up @@ -23,7 +23,7 @@ suite('Search API', function() {
function testSearch(path, message, host, callback) {
test('GET ' + path + ' ' + message, function(done) {
var options = {
host: utils.testHost,
host: utils.testBaseHost,
port: utils.testPort,
path: path,
headers: {Host: host}
Expand Down
4 changes: 2 additions & 2 deletions test/dashboard.test.js
Expand Up @@ -16,7 +16,7 @@ suite('dashboard', function() {

test('GET /', function(done) {
var options = {
host: utils.testHost,
host: utils.testBaseHost,
port: utils.testPort,
path: '/'
};
Expand All @@ -35,7 +35,7 @@ suite('dashboard', function() {

test('GET /javascripts/templates.js', function(done) {
var options = {
host: utils.testHost,
host: utils.testBaseHost,
port: utils.testPort,
path: '/javascripts/templates.js'
};
Expand Down
2 changes: 1 addition & 1 deletion test/test-utils.js
Expand Up @@ -32,7 +32,7 @@ function sendRequest(method, path, postData, headers) {
var deferred = new Deferred();

var options = {
host: testHost,
host: testBaseHost,
port: testPort,
path: path,
method: method,
Expand Down

0 comments on commit 3557a8f

Please sign in to comment.