summaryrefslogtreecommitdiffstats
path: root/spec/rails_helper.rb
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2018-01-07 23:19:23 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-01-07 15:19:23 +0100
commit1d92b90be9f494d90a6f79f53be9cca68562867e (patch)
treea4a76a9b01d122d1ffeef2e462f742f2e353fe63 /spec/rails_helper.rb
parentda809f9eec45cdac0fa31ba89df91cd4ce4a5398 (diff)
Fix force_ssl conditional (#6201)
Diffstat (limited to 'spec/rails_helper.rb')
-rw-r--r--spec/rails_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb
index 67c6b920540..4f7399505c4 100644
--- a/spec/rails_helper.rb
+++ b/spec/rails_helper.rb
@@ -46,7 +46,7 @@ RSpec.configure do |config|
config.include ActiveSupport::Testing::TimeHelpers
config.before :each, type: :feature do
- https = Rails.env.production? || ENV['LOCAL_HTTPS'] == 'true'
+ https = ENV['LOCAL_HTTPS'] == 'true'
Capybara.app_host = "http#{https ? 's' : ''}://#{ENV.fetch('LOCAL_DOMAIN')}"
end