C&V test improvements
This commit is contained in:
@@ -22,6 +22,13 @@ module ApplicationHelper
|
||||
super(*args)
|
||||
end
|
||||
|
||||
def user_root_path
|
||||
case Rails.env
|
||||
when 'development' then 'http://localhost:4200/'
|
||||
else '/user/index.html'
|
||||
end
|
||||
end
|
||||
|
||||
def user_dynamic_data_host
|
||||
case Rails.env
|
||||
when 'test' then "$data_host = data_host = 'http://#{request.host}:#{request.port}';".html_safe
|
||||
|
||||
Reference in New Issue
Block a user