jejacks0n / teaspoon

Teaspoon: Javascript test runner for Rails. Use Selenium, BrowserStack, or PhantomJS.
1.43k stars 243 forks source link

README: Provide an example of how to pass `driver_options` to the teaspoon rake task. #273

Closed blake-simpson closed 9 years ago

blake-simpson commented 10 years ago

This additional readme example may be useful to future developers. I assumed the driver_options rake argument was meant to be uppercase as described in the command line documentation.

The documentation states use "--driver-options" or "DRIVER_OPTIONS=". When running rake with "--driver-options" I get the output:

invalid option: --driver_options=--ignore-ssl-errors=yes --ssl-protocol=TLSv1

So I assumed the ENV syntax was correct instead. When using an ENV argument no error is reported, leading me to believe this was working. Only after looking at teaspoon.rake did I see the task only accepts 4 options, one of them being a lowercase "driver_options".

coveralls commented 10 years ago

Coverage Status

Coverage decreased (-0.55%) when pulling ddeced23070c842375abc4af198b1eca6373cd18 on BlakeSimpson:master into 32d3385042f2c5295e8f74955559e29c155b93e5 on modeset:master.