Add failing scenario for testing user token change
This commit is contained in:
@@ -22,6 +22,14 @@ module ApplicationHelper
|
||||
super(*args)
|
||||
end
|
||||
|
||||
def user_dynamic_data_host
|
||||
case Rails.env
|
||||
when 'test' then "data_host = 'http://#{request.host}:#{request.port}';".html_safe
|
||||
when 'development' then "data_host = 'http://localhost:3000';".html_safe
|
||||
else ''
|
||||
end
|
||||
end
|
||||
|
||||
def are_you_sure?(record = nil)
|
||||
t('helpers.links.are_you_sure')
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user