Navigation Menu

Skip to content

Commit

Permalink
Don't setup server twice
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Aug 15, 2012
1 parent 9d4eba4 commit 8afa39e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/api-configuration.test.js
Expand Up @@ -171,7 +171,11 @@ suite('Configuration API', function() {
});

suite('auto detection of the base hostname and port', function() {
setup(commonSetup);
setup(function() {
temporaryDatabase = utils.createTemporaryDatabase();
context = temporaryDatabase.get();
});

teardown(commonTeardown);

function assertBaseHost(baseHost, response) {
Expand Down

0 comments on commit 8afa39e

Please sign in to comment.