Created
June 17, 2011 07:39
-
-
Save bradphelan/1031029 to your computer and use it in GitHub Desktop.
Rails On Fire Error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Selenium Tests The logging in process signs in a valid user | |
Failure/Error: visit '/users/sign_in' | |
Selenium::WebDriver::Error::WebDriverError: | |
Could not find Firefox binary (os=linux). Make sure Firefox is installed or set the path manually with Selenium::WebDriver::Firefox::Binary.path= | |
# ./spec/integration/log_spec.rb:26:in `block (3 levels) in <top (required)>' |
On Fri, Jun 17, 2011 at 2:21 PM, flomotlik < ***@***.***>wrote:
The simplest way I think is in your test commands to export a variable.
e.g. add
export RAILSONFIRE=TRUE
before you execute rspec
Took me 10s for my brain to understand. I get it. Perfect! Thanks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The simplest way I think is in your test commands to export a variable. e.g. add
export RAILSONFIRE=TRUE
before you execute rspec
and in your code you can do
Capybara.javascript_driver = :webkit if ENV["RAILSONFIRE"]
Is there any special feature you need Selenium for? Would be very interrested as we might have to implement Selenium support then. But I would give capybara-webkit a serious try. It's fast and uses the same engine as chrome does.