Sha256: 75fe08599ce23b70b6b8fa7f034da87b18fbd03cff7866968ca325d4500e9b58
Contents?: true
Size: 504 Bytes
Versions: 4
Compression:
Stored size: 504 Bytes
Contents
module Cadenero # Helper Methods for testing module TestingSupport # RSpec Helper for subdomains module SubdomainHelpers # To be use for RSpec features for defining and account with a subdomain visible for Capybara 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 end end
Version data entries
4 entries across 4 versions & 1 rubygems