Add strip whitespace and trailing eol to spec too. (#3159)

This commit is contained in:
Arthur Cinader
2016-12-01 18:45:49 -08:00
committed by Florent Vilmart
parent 8359284329
commit 37daafc7b0
19 changed files with 38 additions and 36 deletions

View File

@@ -10,9 +10,9 @@ describe('Twitter Auth', () => {
}, {
consumer_key: 'world'
}]).consumer_key).toEqual('hello')
// Multiple options, consumer_key not found
expect(function(){
expect(function(){
twitter.handleMultipleConfigurations({
consumer_key: 'some',
}, [{
@@ -23,7 +23,7 @@ describe('Twitter Auth', () => {
}).toThrow();
// Multiple options, consumer_key not found
expect(function(){
expect(function(){
twitter.handleMultipleConfigurations({
auth_token: 'token',
}, [{
@@ -47,4 +47,4 @@ describe('Twitter Auth', () => {
consumer_key: 'hello'
}).consumer_key).toEqual('hello');
});
});
});