-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #49 from aydrian/ISSUE-48
Issue 48 Add Grunt Bump
- Loading branch information
Showing
17 changed files
with
33 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ var trans = { | |
recipients: [{ address: { email: '[email protected]' } }] | ||
}; | ||
|
||
client.transmission.send(trans, function(err, res) { | ||
client.transmissions.send(trans, function(err, res) { | ||
if (err) { | ||
console.log(err); | ||
} else { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ var trans = { | |
recipients: [{ address: { email: '[email protected]' } }] | ||
}; | ||
|
||
client.transmission.send(trans, function(err, res) { | ||
client.transmissions.send(trans, function(err, res) { | ||
if (err) { | ||
console.log(err); | ||
} else { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ chai.use(sinonChai); | |
|
||
describe('SendGrid Compatibility', function() { | ||
var sendgrid = new sendGridCompatibility('asdf', 'asdf') | ||
, transmission = sendgrid.client.transmission | ||
, transmissions = sendgrid.client.transmissions | ||
, payload = { | ||
to: ['[email protected]', '[email protected]'], | ||
toname: ['Fakey Fakerson', 'Realy Realerson'], | ||
|
@@ -77,14 +77,14 @@ describe('SendGrid Compatibility', function() { | |
var sendSpy, scope; | ||
|
||
beforeEach(function() { | ||
sendSpy = sinon.spy(transmission, 'send'); | ||
sendSpy = sinon.spy(transmissions, 'send'); | ||
scope = nock('https://api.sparkpost.com') | ||
.post('/api/v1/transmissions') | ||
.reply(200, { ok: true }); | ||
}); | ||
|
||
afterEach(function() { | ||
transmission.send.restore(); // restoring function | ||
transmissions.send.restore(); // restoring function | ||
}); | ||
|
||
it('should handle an absence of toname', function(done) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters