Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests need to pass cleanly on Linux #74

Closed
copiousfreetime opened this issue Nov 28, 2013 · 2 comments
Closed

Tests need to pass cleanly on Linux #74

copiousfreetime opened this issue Nov 28, 2013 · 2 comments
Labels
Milestone

Comments

@copiousfreetime
Copy link
Owner

No description provided.

@infertux
Copy link

Hi, FYI I just tried to run rake test on my machine running Fedora and these 3 tests are failing:

  1) Failure:
Launchy::Application::Browser#test_0004_when host_os is 'linux' the appropriate 'app_list' method is called [/home/infertux/dev/launchy/spec/applications/browser_spec.rb:25]:
--- expected
+++ actual
@@ -1 +1 @@
-nil
+#<Launchy::Argv:0xXXXXXX @argv=["firefox"]>



  2) Failure:
Launchy::Detect::NixDesktopEnvironment#test_0004_returns NotFound if it cannot determine the *nix desktop environment [/home/infertux/dev/launchy/spec/detect/nix_desktop_environment_spec.rb:37]:
--- expected
+++ actual
@@ -1 +1 @@
-Launchy::Detect::NixDesktopEnvironment::NotFound
+Launchy::Detect::NixDesktopEnvironment::Xdg



  3) Failure:
Launchy#test_0010_asssumes we open a local file if we have an exception if we have an invalid scheme and a valid path [/home/infertux/dev/launchy/spec/launchy_spec.rb:80]:
--- expected
+++ actual
@@ -1 +1 @@
-"/usr/bin/open blah://example.com//home/infertux/dev/launchy/spec/launchy_spec.rb"
+"xdg-open blah://example.com//home/infertux/dev/launchy/spec/launchy_spec.rb"


151 runs, 201 assertions, 3 failures, 0 errors, 0 skips
rake aborted!
Command failed with status (1): [ruby -I"lib:spec:test" -w -rubygems -I"/home/infertux/.rvm/gems/ruby-2.0.0-p353/gems/rake-10.1.1/lib" "/home/infertux/.rvm/gems/ruby-2.0.0-p353/gems/rake-10.1.1/lib/rake/rake_test_loader.rb" "{test,spec}/**/{test_*,*_spec}.rb" ]
$ git show
commit 6661ad927508b02b69b8c1907cdd9b3c416a7b71
Author: Jeremy Hinegardner <jeremy@copiousfreetime.org>
Date:   2013-11-28 15:36:13 +0100

    Release 2.4.2

@copiousfreetime copiousfreetime modified the milestone: 2.4.5 Oct 2, 2015
@copiousfreetime
Copy link
Owner Author

resolved with #132

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants