Sha256: 7b959967dffe112cc7899fe03b9b3f85a3da520adf796394a55a73d4fa7e13fc
Contents?: true
Size: 409 Bytes
Versions: 6
Compression:
Stored size: 409 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
6 entries across 6 versions & 1 rubygems