File tree Expand file tree Collapse file tree 5 files changed +2
-35
lines changed
Expand file tree Collapse file tree 5 files changed +2
-35
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " dockerode" ,
33 "description" : " Docker Remote API module." ,
4- "version" : " 2.3.6 " ,
4+ "version" : " 2.4.0 " ,
55 "author" : " Pedro Dias <petermdias@gmail.com>" ,
66 "maintainers" : [
77 " apocas <petermdias@gmail.com>"
Original file line number Diff line number Diff line change @@ -26,12 +26,6 @@ describe("#container", function() {
2626 } ) ;
2727
2828 describe ( "#inspect" , function ( ) {
29- it ( "should inspect a container without callback" , function ( done ) {
30- var container = docker . getContainer ( testContainer ) ;
31- expect ( container . inspect ( ) ) . to . be . a ( 'string' ) ;
32- done ( ) ;
33- } ) ;
34-
3529 it ( "should inspect a container" , function ( done ) {
3630 var container = docker . getContainer ( testContainer ) ;
3731
Original file line number Diff line number Diff line change @@ -8,13 +8,7 @@ var testImage = 'ubuntu:14.04';
88describe ( "#image" , function ( ) {
99
1010 describe ( "#inspect" , function ( ) {
11- it ( "should inspect a image without callback" , function ( done ) {
12- var image = docker . getImage ( testImage ) ;
13- expect ( image . inspect ( ) ) . to . be . a ( 'string' ) ;
14- done ( ) ;
15- } ) ;
16-
17- it ( "should inspect a image" , function ( done ) {
11+ it ( "should inspect an image" , function ( done ) {
1812 var image = docker . getImage ( testImage ) ;
1913
2014 function handler ( err , data ) {
Original file line number Diff line number Diff line change @@ -78,12 +78,6 @@ describe("#networks", function() {
7878 } ) ;
7979
8080 describe ( "#inspect" , function ( ) {
81- it ( "should inspect a network without callback" , function ( done ) {
82- var network = testNetwork ;
83- expect ( network . inspect ( ) ) . to . be . a ( 'string' ) ;
84- done ( ) ;
85- } ) ;
86-
8781 it ( "should inspect a network" , function ( done ) {
8882 var network = testNetwork ;
8983
Original file line number Diff line number Diff line change @@ -187,11 +187,6 @@ describe("#swarm", function() {
187187 docker . listServices ( handler ) ;
188188 } ) ;
189189
190- it ( "should inspect a service without callback" , function ( done ) {
191- expect ( service . inspect ( ) ) . to . be . a ( 'string' ) ;
192- done ( ) ;
193- } ) ;
194-
195190 it ( "should inspect service" , function ( done ) {
196191 function handler ( err , data ) {
197192 expect ( err ) . to . be . null ;
@@ -273,11 +268,6 @@ describe("#swarm", function() {
273268 } ) ;
274269
275270 if ( task ) {
276- it ( "should inspect a task without callback" , function ( done ) {
277- expect ( task . inspect ( ) ) . to . be . a ( 'string' ) ;
278- done ( ) ;
279- } ) ;
280-
281271 it ( "should inspect task" , function ( done ) {
282272 function handler ( err , data ) {
283273 expect ( err ) . to . be . null ;
@@ -306,11 +296,6 @@ describe("#swarm", function() {
306296 docker . listNodes ( handler ) ;
307297 } ) ;
308298
309- it ( "should inspect a node without callback" , function ( done ) {
310- expect ( node . inspect ( ) ) . to . be . a ( 'string' ) ;
311- done ( ) ;
312- } ) ;
313-
314299 it ( "should inspect node" , function ( done ) {
315300 function handler ( err , data ) {
316301 expect ( err ) . to . be . null ;
You can’t perform that action at this time.
0 commit comments