Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kimung committed Dec 19, 2017
1 parent c9e51ed commit beaa1ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 18 deletions.
16 changes: 0 additions & 16 deletions config.yml

This file was deleted.

5 changes: 3 additions & 2 deletions spec/providerSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,10 @@
var Provider = require('./helpers/map/baseProvider');

describe('instantion without connection in config', function() {
it('should throw a ConfigurationError', function() {
it('should throw a ConfigurationError during initialization', function() {
expect(function() {
new Provider({name: 'test'});
var provider = new Provider({name: 'test'});
provider.initialize();
}).toThrowError(errors.ConfigurationError);
});
});
Expand Down

0 comments on commit beaa1ac

Please sign in to comment.