Module: CapybaraSpa

Defined in:
lib/capybara_spa.rb,
lib/capybara_spa/server.rb,
lib/capybara_spa/version.rb,
lib/capybara_spa/server/external_server.rb,
lib/capybara_spa/server/ng_static_server.rb

Defined Under Namespace

Modules: Server

Constant Summary collapse

VERSION =
"0.6.0"

Class Attribute Summary collapse

Class Attribute Details

.app_tagObject

app_tag is the HTML tag where the single page application is stored. Defaults to app-root. \

This can be set thru the SPA_APP_TAG environment variable.


5
6
7
# File 'lib/capybara_spa.rb', line 5

def app_tag
  @app_tag
end

.log_fileObject

log_file where to log the output of angular-http-server. Defaults to /dev/null \

This can be set thru the SPA_LOG_FILE environment variable.


9
10
11
# File 'lib/capybara_spa.rb', line 9

def log_file
  @log_file
end

.single_page_app_foundObject

single_page_app_found stores whether or not the single page app has been found. \ It will be a falsy value if not found and true when found.



13
14
15
# File 'lib/capybara_spa.rb', line 13

def single_page_app_found
  @single_page_app_found
end