Skip to content

Commit

Permalink
tweaking test environments to match what sauce labs offers, updating …
Browse files Browse the repository at this point in the history
…tests to fail faster on errors
  • Loading branch information
nfriedly committed Dec 17, 2013
1 parent 84be5eb commit 13f40a7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
sauce_connect.log
sauce_connect.log
sauce_connect.log.*
6 changes: 3 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ module.exports = function(grunt) {
tags: ['firefox', 'win']
}, {
browserName: 'firefox',
platform: 'OS X 10.8',
platform: 'OS X 10.6', // todo: update to 10.9 once saucelabs supports it
tags: ['firefox', 'mac']
}, {
browserName: 'chrome',
tags: ['chrome', 'win']
}, {
browserName: 'chrome',
platform: 'OS X 10.8',
platform: 'OS X 10.9',
tags: ['chrome', 'mac']
}, {
browserName: 'safari',
Expand All @@ -72,7 +72,7 @@ module.exports = function(grunt) {
}, {
browserName: 'safari',
version: 6,
platform: 'OS X 10.8',
platform: 'OS X 10.8', // todo: update to 10.9 once saucelabs supports it
tags: ['safari', 'mac']
}, {
browserName: 'opera',
Expand Down
6 changes: 3 additions & 3 deletions tests/spec/flashcookies-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ describe("SwfStore", function() {
* @param {boolean} [config.debug=false] Is d
*/
it("should fire the callback after the SWF loads", function() {
var onerror = jasmine.createSpy("onerror");
var onerror = jasmine.createSpy("onerror").andThrow('onerror callback fired');
var loaded = false;
var config = {
swf_url: SWF_PATH,
Expand Down Expand Up @@ -78,7 +78,7 @@ describe("SwfStore", function() {
});

it("should store and retrieve values", function() {
var onerror = jasmine.createSpy("onerror");
var onerror = jasmine.createSpy("onerror").andThrow('onerror callback fired');
var loaded = false;
var config = {
swf_url: SWF_PATH,
Expand Down Expand Up @@ -106,7 +106,7 @@ describe("SwfStore", function() {


it("should allow you to clear previously set values", function() {
var onerror = jasmine.createSpy("onerror");
var onerror = jasmine.createSpy("onerror").andThrow('onerror callback fired');
var loaded = false;
var config = {
swf_url: SWF_PATH,
Expand Down

0 comments on commit 13f40a7

Please sign in to comment.