You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by do...@apache.org on 2013/10/09 18:39:33 UTC

svn commit: r1530703 - /buildr/trunk/spec/core/console_spec.rb

Author: donaldp
Date: Wed Oct  9 16:39:33 2013
New Revision: 1530703

URL: http://svn.apache.org/r1530703
Log:
Disable test looking for console if there is no console attached

Modified:
    buildr/trunk/spec/core/console_spec.rb

Modified: buildr/trunk/spec/core/console_spec.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/spec/core/console_spec.rb?rev=1530703&r1=1530702&r2=1530703&view=diff
==============================================================================
--- buildr/trunk/spec/core/console_spec.rb (original)
+++ buildr/trunk/spec/core/console_spec.rb Wed Oct  9 16:39:33 2013
@@ -21,7 +21,7 @@ describe Buildr::Console do
 
     it 'should return a value' do
       Buildr::Console.console_dimensions.should_not be_nil
-    end
+    end if $stdout.isatty
   end
 
   describe 'color' do