graaff 14/09/29 18:15:22 Added: launchy-2.4.2-drop-failing-test.patch Log: Version bump. (Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Revision Changes Path 1.1 dev-ruby/launchy/files/launchy-2.4.2-drop-failing-test.patch 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 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 Index: launchy-2.4.2-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,20 +12,7 @@ describe Launchy::Application::Browser do ENV.delete( 'KDE_FULL_SESSION' ) ENV.delete( 'BROWSER' ) end - { 'windows' => 'start "launchy" /b' , - 'darwin' => '/usr/bin/open', - 'cygwin' => 'cmd /C start "launchy" /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'"