Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAustin Schaffer <austin.schaffer@ryansg.com>2020-01-14 12:59:00 -0500
committerAustin Schaffer <austin.schaffer@ryansg.com>2020-01-15 10:26:07 -0500
commit103c06da3938a78a1badc35a051fad4998ac7274 (patch)
treec6d9fefca4584d9427ce9eb5fc311851276502b9 /test
parentd918d56a7eb6e553c319dca14ee613be32d38ee8 (diff)
downloadliza-103c06da3938a78a1badc35a051fad4998ac7274.tar.gz
liza-103c06da3938a78a1badc35a051fad4998ac7274.tar.bz2
liza-103c06da3938a78a1badc35a051fad4998ac7274.zip
[DEV-6730] Post whether or not a save step will conclude the process
Diffstat (limited to 'test')
-rw-r--r--test/client/transport/XhttpQuoteTransportTest.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/client/transport/XhttpQuoteTransportTest.js b/test/client/transport/XhttpQuoteTransportTest.js
index 0401d24..0bfdd7f 100644
--- a/test/client/transport/XhttpQuoteTransportTest.js
+++ b/test/client/transport/XhttpQuoteTransportTest.js
@@ -58,6 +58,8 @@ describe( "XhttpQuoteTransport", () =>
bs: [ null ],
};
+ const concluding_save = true;
+
const stub_quote = { visitData: c => c( bucket ) };
const mock_proxy = {
@@ -66,10 +68,13 @@ describe( "XhttpQuoteTransport", () =>
expect( JSON.parse( data.data ) )
.to.deep.equal( expected_data );
+ expect( JSON.parse( data.concluding_save ) )
+ .to.deep.equal( concluding_save );
+
done();
},
};
- Sut( '', mock_proxy ).send( stub_quote );
+ Sut( '', mock_proxy, concluding_save ).send( stub_quote );
} );
} );