diff options
Diffstat (limited to 'test/integration/attachments.test.js')
-rw-r--r-- | test/integration/attachments.test.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/test/integration/attachments.test.js b/test/integration/attachments.test.js index 2283b43..7c10952 100644 --- a/test/integration/attachments.test.js +++ b/test/integration/attachments.test.js @@ -1,15 +1,13 @@ var SendGrid = require('../../lib/sendgrid'); var Email = require('../../lib/Email'); -var credentials = { - api_user: 'kylep', - api_key: 'testing' -} +var api_user = 'kylep'; +var api_key = 'testing'; describe('attachments', function(){ var sendgrid; beforeEach(function() { - sendgrid = new SendGrid(credentials); + sendgrid = new SendGrid(api_user, api_key); }); it('should be able to send files via web', function(done) { |