Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added better test for opera support (tested in Ubuntu without opera i…

…nstalled). Functional test would hang without this.
  • Loading branch information...
commit 9a5b2cf885eebddeb3fef18b2dbcf2558a06f35f 1 parent a8ccf81
Adam Pearson authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/jstest.rb
View
6 lib/jstest.rb
@@ -138,6 +138,12 @@ class OperaBrowser < Browser
def initialize(path='c:\Program Files\Opera\Opera.exe')
@path = path
end
+
+ def supported?
+ if linux?
+ return system("which opera")
+ end
+ end
def setup
if windows?
Please sign in to comment.
Something went wrong with that request. Please try again.