Permalink
Browse files

Only load disk configuration once in integration tests

  • Loading branch information...
1 parent 0b98811 commit f79f677d2048efbfd983d52fe7ba0bdc5b66e498 @lsegal lsegal committed Mar 19, 2013
Showing with 4 additions and 6 deletions.
  1. +4 −6 features/support/world.js
View
10 features/support/world.js
@@ -13,14 +13,12 @@
* language governing permissions and limitations under the License.
*/
-var WorldConstructor = function WorldConstructor(callback) {
-
- var world = require('./helpers');
- world.AWS = require('../../lib/aws');
- world.AWS.config.loadFromPath(__dirname + '/../../configuration');
+var world = require('./helpers');
+world.AWS = require('../../lib/aws');
+world.AWS.config.loadFromPath(__dirname + '/../../configuration');
+var WorldConstructor = function WorldConstructor(callback) {
callback(world);
-
};
exports.World = WorldConstructor;

0 comments on commit f79f677

Please sign in to comment.