Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/launchy/files: launchy-2.4.2-drop-failing-test.patch
Date: Mon, 29 Sep 2014 18:15:27
Message-Id: 20140929181522.EDA6D594@oystercatcher.gentoo.org
1 graaff 14/09/29 18:15:22
2
3 Added: launchy-2.4.2-drop-failing-test.patch
4 Log:
5 Version bump.
6
7 (Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
8
9 Revision Changes Path
10 1.1 dev-ruby/launchy/files/launchy-2.4.2-drop-failing-test.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/launchy/files/launchy-2.4.2-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.4.2-drop-failing-test.patch?rev=1.1&content-type=text/plain
14
15 Index: launchy-2.4.2-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,20 +12,7 @@ describe Launchy::Application::Browser do
22 ENV.delete( 'KDE_FULL_SESSION' )
23 ENV.delete( 'BROWSER' )
24 end
25
26 - { 'windows' => 'start "launchy" /b' ,
27 - 'darwin' => '/usr/bin/open',
28 - 'cygwin' => 'cmd /C start "launchy" /b',
29 -
30 - # when running these tests on a linux box, this test will fail
31 - 'linux' => nil }.each do |host_os, cmdline|
32 - it "when host_os is '#{host_os}' the appropriate 'app_list' method is called" do
33 - Launchy.host_os = host_os
34 - browser = Launchy::Application::Browser.new
35 - browser.app_list.first.must_equal cmdline
36 - end
37 - end
38 -
39 %w[ linux windows darwin cygwin ].each do |host_os|
40 it "the BROWSER environment variable overrides any host defaults on '#{host_os}'" do
41 ENV['BROWSER'] = "my_special_browser --new-tab '%s'"