From 7d24df34fcf3e1f8f9f54c6e3aade2ff6b1a5a23 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 8 Sep 2016 17:08:49 -0700 Subject: [PATCH] Place resolve specs in correct outer block --- spec/webview-spec.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/webview-spec.js b/spec/webview-spec.js index 899112bd033..7df09bfe839 100644 --- a/spec/webview-spec.js +++ b/spec/webview-spec.js @@ -77,8 +77,8 @@ describe(' tag', function () { }) it('resolves relative URLs', function () { - webview.preload = '../fixtures/test.js' - assert.equal(webview.preload, 'file://' + fixtures + '/test.js') + webview.src = '../fixtures/test.html' + assert.equal(webview.src, 'file://' + fixtures + '/test.html') }) it('ignores empty values', function () { @@ -215,8 +215,8 @@ describe(' tag', function () { }) it('resolves relative URLs', function () { - webview.src = '../fixtures/test.html' - assert.equal(webview.src, 'file://' + fixtures + '/test.html') + webview.preload = '../fixtures/test.js' + assert.equal(webview.preload, 'file://' + fixtures + '/test.js') }) it('ignores empty values', function () {