Merge pull request #2354 from internetee/2350-remove-registrant-portal

Remove registrant portal legacy code
This commit is contained in:
Timo Võhmar 2022-04-18 16:35:11 +03:00 committed by GitHub
commit bcf223b326
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 0 additions and 180 deletions

View file

@ -1,14 +0,0 @@
require 'test_helper'
class ApplicationHelperTest < ActionView::TestCase
def test_env_style_when_pic_present
assert_dom_equal %{<body style={"background-image: url(#{image_path("registrar/bg-#{unstable_env}.png")});"}>},
%{<body style={"#{env_style}"}>}
end
def test_env_style_return_nil
env_style = ''
assert_dom_equal %{<body style=''>},
%{<body style={"#{env_style}"}>}
end
end