-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adds support for 'app' and 'credentials' in Appbase parameters
* credentials can be used in lieu of username, password parameters * app can be used as a shorthand for appname This change is backwards compatible.
- Loading branch information
1 parent
7cac816
commit e22c4ce
Showing
2 changed files
with
17 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,8 +16,9 @@ describe('Appbase', function() { | |
|
||
before(function() { | ||
streamingClient = new appbase({ | ||
url: 'http://QEVrcElba:[email protected]', | ||
appname: 'es2test1' | ||
url: 'https://scalr.api.appbase.io', | ||
app: 'es2test1', | ||
credentials: 'QEVrcElba:5c13d943-a5d1-4b05-92f3-42707d49fcbb' | ||
}) | ||
}) | ||
|
||
|
@@ -99,4 +100,4 @@ describe('Appbase', function() { | |
} | ||
}) | ||
}) | ||
}) | ||
}) |