Gentoo Archives: gentoo-commits

From: "Manuel Rueger (mrueg)" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/launchy/files: launchy-2.3.0-drop-failing-test.patch
Date: Fri, 02 Aug 2013 06:15:19
Message-Id: 20130802061516.0DD5E20081@flycatcher.gentoo.org
1 mrueg 13/08/02 06:15:16
2
3 Added: launchy-2.3.0-drop-failing-test.patch
4 Log:
5 Initial version, taken from ruby-overlay
6
7 (Portage version: 2.1.13.2/cvs/Linux x86_64, signed Manifest commit with key )
8
9 Revision Changes Path
10 1.1 dev-ruby/launchy/files/launchy-2.3.0-drop-failing-test.patch
11
12 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
13 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
14
15 Index: launchy-2.3.0-drop-failing-test.patch
16 ===================================================================
17 diff --git a/spec/applications/browser_spec.rb b/spec/applications/browser_spec.rb
18 index 8cfa8e7..3886ce3 100644
19 --- a/spec/applications/browser_spec.rb
20 +++ b/spec/applications/browser_spec.rb
21 @@ -12,19 +12,6 @@ describe Launchy::Application::Browser do
22 ENV.delete( 'KDE_FULL_SESSION' )
23 end
24
25 - { 'windows' => 'start /b' ,
26 - 'darwin' => '/usr/bin/open',
27 - 'cygwin' => 'cmd /C start /b',
28 -
29 - # when running these tests on a linux box, this test will fail
30 - 'linux' => nil }.each do |host_os, cmdline|
31 - it "when host_os is '#{host_os}' the appropriate 'app_list' method is called" do
32 - Launchy.host_os = host_os
33 - browser = Launchy::Application::Browser.new
34 - browser.app_list.first.must_equal cmdline
35 - end
36 - end
37 -
38 %w[ linux windows darwin cygwin ].each do |host_os|
39 it "the BROWSER environment variable overrides any host defaults on '#{host_os}'" do
40 ENV['BROWSER'] = "my_special_browser --new-tab '%s'"