File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
# Helper module for domain-related functionality
4
4
module DomainHelper
5
- HOTFIX_DOMAIN = 'www.hotfix.bgs.uktrade.digital'
5
+ HOTFIX_DOMAIN = 'https:// www.hotfix.bgs.uktrade.digital'
6
6
7
7
def bgs_site?
8
8
Figaro . env . DOMAIN == Figaro . env . BGS_SITE
Original file line number Diff line number Diff line change 32
32
expect ( fetch_domain ( title_only : true ) ) . to eq ( 'Great' )
33
33
end
34
34
35
- it 'returns hotfix domain if DOMAIN is www.hotfix.bgs.uktrade.digital' do
36
- allow ( Figaro . env ) . to receive ( :DOMAIN ) . and_return ( 'www.hotfix.bgs.uktrade.digital' )
37
- allow ( Figaro . env ) . to receive ( :BGS_SITE ) . and_return ( 'www.hotfix.bgs.uktrade.digital' )
35
+ it 'returns hotfix domain if DOMAIN is https:// www.hotfix.bgs.uktrade.digital' do
36
+ allow ( Figaro . env ) . to receive ( :DOMAIN ) . and_return ( 'https:// www.hotfix.bgs.uktrade.digital' )
37
+ allow ( Figaro . env ) . to receive ( :BGS_SITE ) . and_return ( 'https:// www.hotfix.bgs.uktrade.digital' )
38
38
39
39
expect ( fetch_domain ) . to eq ( 'hotfix.bgs.uktrade.digital' )
40
40
end
You can’t perform that action at this time.
0 commit comments