Skip to content

Commit

Permalink
no longer a valid test
Browse files Browse the repository at this point in the history
we detach so if the child crashes we can't tell
user will just have to look at the stderr/stdout
  • Loading branch information
copiousfreetime committed May 3, 2024
1 parent dba7ea3 commit f6dc4d3
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions spec/launchy_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,6 @@
_(-> { Launchy.open(@invalid_url) }).must_raise Launchy::ApplicationNotFoundError
end

it "raises an exepction if the browser failed to launch" do
skip("because headless CI") if ENV["CI"] == "true"
caught = nil
Launchy.open(@invalid_url, application: "browser") do |exception|
caught = exception
end
_(caught).must_be_kind_of Launchy::Error
end

it "asssumes we open a local file if we have an exception if we have an invalid scheme and a valid path" do
uri = "blah://example.com/#{__FILE__}"
Launchy.open(uri, dry_run: true)
Expand Down

0 comments on commit f6dc4d3

Please sign in to comment.