public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-ruby/launchy/files: launchy-2.3.0-drop-failing-test.patch
@ 2013-08-02  6:15 Manuel Rueger (mrueg)
  0 siblings, 0 replies; only message in thread
From: Manuel Rueger (mrueg) @ 2013-08-02  6:15 UTC (permalink / raw
  To: gentoo-commits

mrueg       13/08/02 06:15:16

  Added:                launchy-2.3.0-drop-failing-test.patch
  Log:
  Initial version, taken from ruby-overlay
  
  (Portage version: 2.1.13.2/cvs/Linux x86_64, signed Manifest commit with key )

Revision  Changes    Path
1.1                  dev-ruby/launchy/files/launchy-2.3.0-drop-failing-test.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/launchy/files/launchy-2.3.0-drop-failing-test.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/launchy/files/launchy-2.3.0-drop-failing-test.patch?rev=1.1&content-type=text/plain

Index: launchy-2.3.0-drop-failing-test.patch
===================================================================
diff --git a/spec/applications/browser_spec.rb b/spec/applications/browser_spec.rb
index 8cfa8e7..3886ce3 100644
--- a/spec/applications/browser_spec.rb
+++ b/spec/applications/browser_spec.rb
@@ -12,19 +12,6 @@ describe Launchy::Application::Browser do
     ENV.delete( 'KDE_FULL_SESSION' )
   end
 
-  { 'windows' => 'start /b' ,
-    'darwin'  => '/usr/bin/open',
-    'cygwin'  => 'cmd /C start /b',
-
-    # when running these tests on a linux box, this test will fail
-    'linux'   => nil                 }.each  do |host_os, cmdline|
-    it "when host_os is '#{host_os}' the appropriate 'app_list' method is called" do
-      Launchy.host_os = host_os
-      browser = Launchy::Application::Browser.new
-      browser.app_list.first.must_equal cmdline
-    end
-  end
-
   %w[ linux windows darwin cygwin ].each do |host_os|
     it "the BROWSER environment variable overrides any host defaults on '#{host_os}'" do
       ENV['BROWSER'] = "my_special_browser --new-tab '%s'"





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-08-02  6:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-02  6:15 [gentoo-commits] gentoo-x86 commit in dev-ruby/launchy/files: launchy-2.3.0-drop-failing-test.patch Manuel Rueger (mrueg)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox