From 7e88a96f27271ec8dd7c318f4898cbda8142cd18 Mon Sep 17 00:00:00 2001 From: Maciej Szlosarczyk Date: Mon, 18 Jun 2018 10:34:24 +0300 Subject: [PATCH] Add missed `travel_back` callback in teardown --- test/integration/registrant/layout_test.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/integration/registrant/layout_test.rb b/test/integration/registrant/layout_test.rb index deabaee20..fa811694f 100644 --- a/test/integration/registrant/layout_test.rb +++ b/test/integration/registrant/layout_test.rb @@ -9,6 +9,12 @@ class RegistrantLayoutTest < ActionDispatch::IntegrationTest travel_to Time.zone.parse('2010-07-05') end + def teardown + super + + travel_back + end + def test_has_link_to_rest_whois_and_internet_ee visit registrant_domains_url