lib/mtwarden/testing_support/subdomain_helpers.rb in mtwarden-5.0.0b vs lib/mtwarden/testing_support/subdomain_helpers.rb in mtwarden-5.0.0

- old
+ new

@@ -3,14 +3,14 @@ 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 } + before { Capybara.default_host = subdomain_url } after { Capybara.default_host = "http://example.com" } yield end end end end -end \ No newline at end of file +end