Skip to content

Commit

Permalink
Workaround for grunt-protractor
Browse files Browse the repository at this point in the history
grunt-protractor will set the capabilities' versions as command line
arguments which protractor will automatically convert to floats with
optimist. Sauce cannot read floats (can read strings and ints
apparently)
  • Loading branch information
jhchen committed Jul 26, 2014
1 parent 0fd0367 commit 4b523e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/browsers.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
var CHROME_VERSION = '35';
var FIREFOX_VERSION = '30';
var SAFARI_VERSION = '7';
var IOS_VERSION = '7.1';
var ANDROID_VERSION = '4.3';
var IOS_VERSION = ' 7.1'; // Workaround for optimist converting to float
var ANDROID_VERSION = ' 4.3';

var browsers = {
'mac-chrome' : ['Mac 10.9', 'chrome', CHROME_VERSION],
Expand Down

0 comments on commit 4b523e9

Please sign in to comment.