Slimer.js should recognize FirefoxDeveloperEdition

Signed-off-by: Christian Romney <cromney@pointslope.com>

Closes Homebrew/homebrew#37420.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Christian Romney 2015-03-05 09:59:33 -05:00 committed by Jack Nagel
parent aeafa2d241
commit 943ddf2277

View file

@ -4,7 +4,9 @@ class FirefoxDependency < Requirement
def self.firefox_installation
paths = ["~/Applications/FirefoxNightly.app", "~/Applications/Firefox.app",
"/Applications/FirefoxNightly.app", "/Applications/Firefox.app"]
"/Applications/FirefoxNightly.app", "/Applications/Firefox.app",
"~/Applications/FirefoxDeveloperEdition.app",
"/Applications/FirefoxDeveloperEdition.app"]
paths.find { |p| File.exist? File.expand_path(p) }
end