From 047975609d24065528ed56ff8afc976ba057950c Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 14 Jan 2016 17:03:51 -0800 Subject: [PATCH 1/2] Add missing -spec suffix to desktop capturer spec --- spec/{api-desktop-capturer.js => api-desktop-capturer-spec.js} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename spec/{api-desktop-capturer.js => api-desktop-capturer-spec.js} (100%) diff --git a/spec/api-desktop-capturer.js b/spec/api-desktop-capturer-spec.js similarity index 100% rename from spec/api-desktop-capturer.js rename to spec/api-desktop-capturer-spec.js From 572f53dc5eb5a27a634065c8292ab9790b72f4a6 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 14 Jan 2016 17:04:38 -0800 Subject: [PATCH 2/2] Expand spec description --- spec/api-desktop-capturer-spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/api-desktop-capturer-spec.js b/spec/api-desktop-capturer-spec.js index 288e57ee448..3a03366d454 100644 --- a/spec/api-desktop-capturer-spec.js +++ b/spec/api-desktop-capturer-spec.js @@ -5,7 +5,7 @@ assert = require('assert'); desktopCapturer = require('electron').desktopCapturer; describe('desktopCapturer', function() { - return it('should returns something', function(done) { + return it('should return a non-empty array of sources', function(done) { return desktopCapturer.getSources({ types: ['window', 'screen'] }, function(error, sources) {