Sha256: 428a59753debd5097805108cc6ea2444d873e789242d48cfc88ef02271ecc407
Contents?: true
Size: 257 Bytes
Versions: 4
Compression:
Stored size: 257 Bytes
Contents
module SubdomainHelpers def within_account_subdomain let(:subdomain_url) { "http://#{account.subdomain}.example.com" } before { Capybara.default_host = subdomain_url } after { Capybara.default_host = "http://example.com" } yield end end
Version data entries
4 entries across 4 versions & 1 rubygems