Sha256: 1a0f2db194c0808f44bbb2e0d979f4a3a0362ce9218ff8ce676ede8e302cf5f8
Contents?: true
Size: 367 Bytes
Versions: 12
Compression:
Stored size: 367 Bytes
Contents
module Mtwarden module TestingSupport module SubdomainHelpers def within_account_subdomain(&block) context "within a subdomain" do let(:subdomain_url) { "http://#{account.subdomain}.example.com" } before { Capybara.default_host = subdomain_url } after { Capybara.default_host = "http://example.com" } yield end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems