Skip to content

Commit 31e51bd

Browse files
committed
Add documentation for CYPRESS_DIR env var to readme and include CYPRESS_DIR inspect to config class
1 parent b38b131 commit 31e51bd

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ preferred environment variables project-wide using a tool like
156156

157157

158158
* **CYPRESS_RAILS_DIR** (default: `Dir.pwd`) the directory of your project
159+
* **CYPRESS_DIR** (default: `Dir.pwd`) the directory of your Cypress project
159160
* **CYPRESS_RAILS_HOST** (default: `"127.0.0.1"`) the hostname to bind to
160161
* **CYPRESS_RAILS_PORT** (default: _a random available port_) the port to run
161162
the Rails test server on

lib/cypress-rails/config.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def to_s
2828
cypress-rails configuration:
2929
============================
3030
CYPRESS_RAILS_DIR.....................#{dir.inspect}
31+
CYPRESS_DIR...........................#{cy_dir.inspect}
3132
CYPRESS_RAILS_HOST....................#{host.inspect}
3233
CYPRESS_RAILS_PORT....................#{port.inspect}
3334
CYPRESS_RAILS_BASE_PATH...............#{base_path.inspect}

0 commit comments

Comments
 (0)